-
- All Implemented Interfaces:
-
io.quarkus.hibernate.orm.panache.kotlin.PanacheQuery
public class PanacheQueryImpl<Entity> implements PanacheQuery<Entity>
-
-
Method Summary
Modifier and Type Method Description <NewEntity> PanacheQuery<NewEntity>project(Class<NewEntity> type)PanacheQuery<Entity>page(@NotNull() Page page)PanacheQuery<Entity>page(int pageIndex, int pageSize)PanacheQuery<Entity>nextPage()PanacheQuery<Entity>previousPage()PanacheQuery<Entity>firstPage()PanacheQuery<Entity>lastPage()booleanhasNextPage()booleanhasPreviousPage()intpageCount()Pagepage()PanacheQuery<Entity>range(int startIndex, int lastIndex)PanacheQuery<Entity>withLock(@NotNull() LockModeType lockModeType)PanacheQuery<Entity>withHint(@NotNull() String hintName, @NotNull() Object value)PanacheQuery<Entity>filter(@NotNull() String filterName, @NotNull() Parameters parameters)PanacheQuery<Entity>filter(@NotNull() String filterName, @NotNull() Map<String, out Object> parameters)PanacheQuery<Entity>filter(@NotNull() String filterName)longcount()List<Entity>list()Stream<Entity>stream()EntityfirstResult()EntitysingleResult()-
Methods inherited from class io.quarkus.hibernate.orm.panache.kotlin.PanacheQuery
count, filter, firstPage, firstResult, hasNextPage, hasPreviousPage, lastPage, list, nextPage, page, page, pageCount, previousPage, project, range, singleResult, stream, withHint, withLock -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
previousPage
@NotNull() PanacheQuery<Entity> previousPage()
-
hasNextPage
boolean hasNextPage()
-
hasPreviousPage
boolean hasPreviousPage()
-
pageCount
int pageCount()
-
page
@NotNull() Page page()
-
withHint
@NotNull() PanacheQuery<Entity> withHint(@NotNull() String hintName, @NotNull() Object value)
-
filter
@NotNull() PanacheQuery<Entity> filter(@NotNull() String filterName, @NotNull() Parameters parameters)
-
filter
@NotNull() PanacheQuery<Entity> filter(@NotNull() String filterName, @NotNull() Map<String, out Object> parameters)
-
count
long count()
-
firstResult
Entity firstResult()
-
singleResult
@NotNull() Entity singleResult()
-
-
-
-