接口 ConfigurableRootQuery<T extends Table<?>,R>

所有超级接口:
Executable<List<R>>, TypedRootQuery<R>
所有已知实现类:
ConfigurableRootQueryImpl

public interface ConfigurableRootQuery<T extends Table<?>,R> extends TypedRootQuery<R>
  • 方法详细资料

    • fetchUnlimitedCount

      default long fetchUnlimitedCount()
      Ignore the sorting and pagination settings of the current query, query the total number of data before pagination

      In general, users do not need to directly use this method, but call the fetchPage(int, int) method instead

      返回:
      Total row count before pagination
    • fetchUnlimitedCount

      default long fetchUnlimitedCount(Connection con)
      Ignore the sorting and pagination settings of the current query, query the total number of data before pagination

      In 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

      default boolean exists(Connection con)
    • fetchPage

      @NotNull default <P> P fetchPage(int pageIndex, int pageSize, PageFactory<R,P> pageFactory)
    • fetchPage

      @NotNull <P> P fetchPage(int pageIndex, int pageSize, Connection con, PageFactory<R,P> pageFactory)
    • fetchPage

      @NotNull default @NotNull org.babyfish.jimmer.Page<R> fetchPage(int pageIndex, int pageSize)
    • 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

      @NewChain ConfigurableRootQuery<T,R> distinct()
    • limit

      @NewChain ConfigurableRootQuery<T,R> limit(int limit)
    • offset

      @NewChain ConfigurableRootQuery<T,R> offset(long offset)
    • limit

      @NewChain ConfigurableRootQuery<T,R> limit(int limit, long offset)
    • withoutSortingAndPaging

      @NewChain ConfigurableRootQuery<T,R> withoutSortingAndPaging()
    • reverseSorting

      @NewChain @Nullable @Nullable ConfigurableRootQuery<T,R> reverseSorting()
      返回:
      If the original query does not have `order by` clause, returns null
    • forUpdate

      @NewChain default ConfigurableRootQuery<T,R> forUpdate()
    • forUpdate

      @NewChain ConfigurableRootQuery<T,R> forUpdate(boolean forUpdate)