Panache Query
Interface representing an entity query, which abstracts the use of paging, getting the number of results, and operating on List or java.util.Stream.
Instances of this interface cannot mutate the query itself or its parameters: only paging information can be modified, and instances of this interface can be reused to obtain multiple pages of results.
Parameters
The entity type being queried
Inheritors
Functions
Enables a Hibernate filter during fetching of results for this query. Your filter must be declared with FilterDef on your entity or package, and enabled with Filter on your entity.
Sets the current page to the first page
Returns the first result of the current page index. This ignores the current page size to fetch a single result.
Returns true if there is another page to read after the current one. This will cause reading of the entity count.
Returns true if there is a page to read before the current one.
Sets the current page to the last page. This will cause reading of the entity count.
Sets the current page to the next page
Returns the current page.
Sets the current page.
Sets the current page to the previous page (or the first page if there is no previous page)
Executes this query for the current page and return a single result.
Define the locking strategy used for this query.