类 ConfigurableRootQueryImpl<T extends Table<?>,R>
java.lang.Object
org.babyfish.jimmer.sql.ast.impl.query.ConfigurableRootQueryImpl<T,R>
- 所有已实现的接口:
Executable<List<R>>,Ast,ConfigurableRootQueryImplementor<T,,R> TypedRootQueryImplementor<R>,ConfigurableRootQuery<T,,R> TypedRootQuery<R>
public class ConfigurableRootQueryImpl<T extends Table<?>,R>
extends Object
implements ConfigurableRootQuery<T,R>, ConfigurableRootQueryImplementor<T,R>
-
构造器概要
构造器构造器说明ConfigurableRootQueryImpl(org.babyfish.jimmer.sql.ast.impl.query.TypedQueryData data, MutableRootQueryImpl<T> baseQuery) -
方法概要
修饰符和类型方法说明voidaccept(@NotNull AstVisitor visitor) distinct()execute()Executed on a JDBC connection determined by jimmer-sql.execute(Connection con) Execute on the specified JDBC connection.voidforEach(Connection con, int batchSize, Consumer<R> consumer) forUpdate(boolean forUpdate) org.babyfish.jimmer.sql.ast.impl.query.TypedQueryDatagetData()intersect(TypedRootQuery<R> other) booleanlimit(int limit, int offset) <X> List<X>map(Connection con, Function<R, X> mapper) minus(TypedRootQuery<R> other) voidrenderTo(@NotNull SqlBuilder builder) <X> ConfigurableRootQuery<T,X> reselect(BiFunction<MutableRootQuery<T>, T, ConfigurableRootQuery<T, X>> block) @Nullable ConfigurableRootQuery<T,R> union(TypedRootQuery<R> other) unionAll(TypedRootQuery<R> other) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.babyfish.jimmer.sql.ast.query.ConfigurableRootQuery
count, count, exists, exists, forUpdate, limit从接口继承的方法 org.babyfish.jimmer.sql.ast.query.TypedRootQuery
fetchOne, fetchOne, fetchOneOrNull, fetchOneOrNull, fetchOptional, fetchOptional, forEach, forEach, forEach, map
-
构造器详细资料
-
ConfigurableRootQueryImpl
public ConfigurableRootQueryImpl(org.babyfish.jimmer.sql.ast.impl.query.TypedQueryData data, MutableRootQueryImpl<T> baseQuery)
-
-
方法详细资料
-
getBaseQuery
-
reselect
public <X> ConfigurableRootQuery<T,X> reselect(BiFunction<MutableRootQuery<T>, T, ConfigurableRootQuery<T, X>> block) - 指定者:
reselect在接口中ConfigurableRootQuery<T extends Table<?>,R>
-
distinct
- 指定者:
distinct在接口中ConfigurableRootQuery<T extends Table<?>,R>
-
limit
- 指定者:
limit在接口中ConfigurableRootQuery<T extends Table<?>,R>
-
withoutSortingAndPaging
- 指定者:
withoutSortingAndPaging在接口中ConfigurableRootQuery<T extends Table<?>,R>
-
reverseSorting
- 指定者:
reverseSorting在接口中ConfigurableRootQuery<T extends Table<?>,R> - 返回:
- If the original query does not have `order by` clause, returns null
-
forUpdate
- 指定者:
forUpdate在接口中ConfigurableRootQuery<T extends Table<?>,R>
-
execute
从接口复制的说明:ExecutableExecuted on a JDBC connection determined by jimmer-sql.- 指定者:
execute在接口中Executable<T extends Table<?>>- 返回:
- Execution result
-
execute
从接口复制的说明:ExecutableExecute on the specified JDBC connection.- 指定者:
execute在接口中Executable<T extends Table<?>>- 返回:
- Execution result
-
map
- 指定者:
map在接口中TypedRootQuery<T extends Table<?>>
-
forEach
- 指定者:
forEach在接口中TypedRootQuery<T extends Table<?>>
-
union
- 指定者:
union在接口中TypedRootQuery<T extends Table<?>>
-
unionAll
- 指定者:
unionAll在接口中TypedRootQuery<T extends Table<?>>
-
minus
- 指定者:
minus在接口中TypedRootQuery<T extends Table<?>>
-
intersect
- 指定者:
intersect在接口中TypedRootQuery<T extends Table<?>>
-
isForUpdate
public boolean isForUpdate()- 指定者:
isForUpdate在接口中TypedRootQueryImplementor<T extends Table<?>>
-
getOrders
- 指定者:
getOrders在接口中ConfigurableRootQueryImplementor<T extends Table<?>,R>
-
getSqlClient
- 指定者:
getSqlClient在接口中ConfigurableRootQueryImplementor<T extends Table<?>,R>
-
getData
public org.babyfish.jimmer.sql.ast.impl.query.TypedQueryData getData() -
getSelections
-
accept
-
renderTo
-