Package | Description |
---|---|
org.apache.deltaspike.data.api |
Modifier and Type | Method and Description |
---|---|
<X> QueryResult<E> |
QueryResult.changeOrder(javax.persistence.metamodel.SingularAttribute<E,X> attribute)
Revert an existing order attribute sort direction.
|
QueryResult<E> |
QueryResult.changeOrder(String attribute)
Revert an existing order attribute sort direction.
|
QueryResult<E> |
QueryResult.clearOrder()
Remove any ordering from the query result object.
|
QueryResult<E> |
QueryResult.firstResult(int first)
Pagination: Set the result start position.
|
QueryResult<E> |
QueryResult.flushMode(javax.persistence.FlushModeType flushMode)
Sets the query flush mode.
|
QueryResult<E> |
QueryResult.hint(String hint,
Object value)
Apply a query hint to the query to execute.
|
QueryResult<E> |
QueryResult.lockMode(javax.persistence.LockModeType lockMode)
Sets the query lock mode.
|
QueryResult<E> |
QueryResult.maxResults(int max)
Limit the number of results returned by the query.
|
QueryResult<E> |
QueryResult.nextPage()
Move to the next page.
|
<X> QueryResult<E> |
QueryResult.orderAsc(javax.persistence.metamodel.SingularAttribute<E,X> attribute)
Sort the query result ascending by the given entity singular attribute.
|
<X> QueryResult<E> |
QueryResult.orderAsc(javax.persistence.metamodel.SingularAttribute<E,X> attribute,
boolean appendEntityName)
Sort the query result ascending by the given entity singular attribute.
|
QueryResult<E> |
QueryResult.orderAsc(String attribute)
Sort the query result ascending by the given entity attribute.
|
QueryResult<E> |
QueryResult.orderAsc(String attribute,
boolean appendEntityName)
Sort the query result ascending by the given entity attribute.
|
<X> QueryResult<E> |
QueryResult.orderDesc(javax.persistence.metamodel.SingularAttribute<E,X> attribute)
Sort the query result descending by the given entity singular attribute.
|
<X> QueryResult<E> |
QueryResult.orderDesc(javax.persistence.metamodel.SingularAttribute<E,X> attribute,
boolean appendEntityName)
Sort the query result descending by the given entity singular attribute.
|
QueryResult<E> |
QueryResult.orderDesc(String attribute)
Sort the query result descending by the given entity attribute.
|
QueryResult<E> |
QueryResult.orderDesc(String attribute,
boolean appendEntityName)
Sort the query result descending by the given entity attribute.
|
QueryResult<E> |
QueryResult.previousPage()
Move to the previous page.
|
QueryResult<E> |
QueryResult.toPage(int page)
Move the page cursor to a specific page.
|
QueryResult<E> |
QueryResult.withPageSize(int pageSize)
Set a page size on the query result.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.