接口 ConfigurableRootQuery<T extends Table<?>,R>
- 所有超级接口:
Executable<List<R>>,TypedRootQuery<R>
- 所有已知实现类:
ConfigurableRootQueryImpl
-
方法概要
修饰符和类型方法说明distinct()default booleanexists()default booleanexists(Connection con) default @NotNull org.babyfish.jimmer.Page<R>fetchPage(int pageIndex, int pageSize) default @NotNull org.babyfish.jimmer.Page<R>fetchPage(int pageIndex, int pageSize, Connection con) <P> PfetchPage(int pageIndex, int pageSize, Connection con, PageFactory<R, P> pageFactory) default <P> PfetchPage(int pageIndex, int pageSize, PageFactory<R, P> pageFactory) default longIgnore the sorting and pagination settings of the current query, query the total number of data before paginationdefault longIgnore the sorting and pagination settings of the current query, query the total number of data before paginationdefault ConfigurableRootQuery<T,R> forUpdate(boolean forUpdate) limit(int limit) limit(int limit, long offset) offset(long offset) <X> ConfigurableRootQuery<T,X> reselect(BiFunction<MutableRootQuery<T>, T, ConfigurableRootQuery<T, X>> block) @Nullable ConfigurableRootQuery<T,R> 从接口继承的方法 org.babyfish.jimmer.sql.ast.Executable
execute, execute从接口继承的方法 org.babyfish.jimmer.sql.ast.query.TypedRootQuery
fetchOne, fetchOne, fetchOneOrNull, fetchOneOrNull, fetchOptional, fetchOptional, forEach, forEach, forEach, forEach, intersect, map, map, minus, union, unionAll
-
方法详细资料
-
fetchUnlimitedCount
default long fetchUnlimitedCount()Ignore the sorting and pagination settings of the current query, query the total number of data before paginationIn general, users do not need to directly use this method, but call the
fetchPage(int, int)method instead- 返回:
- Total row count before pagination
-
fetchUnlimitedCount
Ignore the sorting and pagination settings of the current query, query the total number of data before paginationIn general, users do not need to directly use this method, but call the
fetchPage(int, int, Connection)method instead- 返回:
- Total row count before pagination
-
exists
default boolean exists() -
exists
-
fetchPage
-
fetchPage
-
fetchPage
-
fetchPage
@NotNull default @NotNull org.babyfish.jimmer.Page<R> fetchPage(int pageIndex, int pageSize, Connection con) -
reselect
@NewChain <X> ConfigurableRootQuery<T,X> reselect(BiFunction<MutableRootQuery<T>, T, ConfigurableRootQuery<T, X>> block) -
distinct
-
limit
-
offset
-
limit
-
withoutSortingAndPaging
-
reverseSorting
- 返回:
- If the original query does not have `order by` clause, returns null
-
forUpdate
-
forUpdate
-