Panache Query Impl
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.
WARNING: setting filters can only be done on the underlying Hibernate [Session] and so this will modify the session's filters for the duration of obtaining the results (not while building the query). Enabled filters will be removed from the session afterwards, but no effort is made to preserve filters enabled on the session outside of this API.
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.