类 MutableRootQueryImpl<T extends Table<?>>
java.lang.Object
org.babyfish.jimmer.sql.ast.impl.AbstractMutableStatementImpl
org.babyfish.jimmer.sql.ast.impl.query.AbstractMutableQueryImpl
org.babyfish.jimmer.sql.ast.impl.query.MutableRootQueryImpl<T>
- 所有已实现的接口:
FilterableImplementor,SortableImplementor,Filterable,MutableQuery,MutableRootQuery<T>,RootSelectable<T>,Sortable,SubQueryProvider
public class MutableRootQueryImpl<T extends Table<?>>
extends AbstractMutableQueryImpl
implements MutableRootQuery<T>
-
构造器概要
构造器构造器说明MutableRootQueryImpl(StatementContext ctx, JSqlClientImplementor sqlClient, org.babyfish.jimmer.meta.ImmutableType immutableType) MutableRootQueryImpl(StatementContext ctx, JSqlClientImplementor sqlClient, TableProxy<?> table) MutableRootQueryImpl(JSqlClientImplementor sqlClient, org.babyfish.jimmer.meta.ImmutableType immutableType, ExecutionPurpose purpose, boolean ignoreFilter) MutableRootQueryImpl(JSqlClientImplementor sqlClient, TableProxy<?> table, ExecutionPurpose purpose, boolean ignoreFilter) -
方法概要
修饰符和类型方法说明groupBy(Expression<?>... expressions) protected voidonFrozen()orderBy(Expression<?>... expressions) orderByIf(boolean condition, Expression<?>... expressions) <R> ConfigurableRootQuery<T,R> <T1,T2> ConfigurableRootQuery<T, org.babyfish.jimmer.sql.ast.tuple.Tuple2<T1, T2>> <T1,T2, T3>
ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple3<T1, T2, T3>> <T1,T2, T3, T4>
ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple4<T1, T2, T3, T4>> select(Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4) <T1,T2, T3, T4, T5>
ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple5<T1, T2, T3, T4, T5>> select(Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5) <T1,T2, T3, T4, T5, T6>
ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple6<T1, T2, T3, T4, T5, T6>> select(Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6) <T1,T2, T3, T4, T5, T6, T7>
ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple7<T1, T2, T3, T4, T5, T6, T7>> select(Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6, Selection<T7> selection7) <T1,T2, T3, T4, T5, T6, T7, T8>
ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>> select(Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6, Selection<T7> selection7, Selection<T8> selection8) <T1,T2, T3, T4, T5, T6, T7, T8, T9>
ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>> select(Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6, Selection<T7> selection7, Selection<T8> selection8, Selection<T9> selection9) Add some predicates(logical and)If the condition is true, add a predicateIf the condition is true, add a predicate从类继承的方法 org.babyfish.jimmer.sql.ast.impl.query.AbstractMutableQueryImpl
disableSubQuery, enableSubQuery, isGroupByClauseUsed, isSubQueryDisabled从类继承的方法 org.babyfish.jimmer.sql.ast.impl.AbstractMutableStatementImpl
createAssociationSubQuery, createSubQuery, freeze, getPredicate, getPurpose, getSqlClient, getTable, getTableImplementor, mergePredicates, validateMutable从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.babyfish.jimmer.sql.ast.impl.query.FilterableImplementor
createAssociationSubQuery, createAssociationWildSubQuery, createSubQuery, createWildSubQuery从接口继承的方法 org.babyfish.jimmer.sql.ast.query.SubQueryProvider
createAssociationSubQuery, createSubQuery
-
构造器详细资料
-
MutableRootQueryImpl
public MutableRootQueryImpl(JSqlClientImplementor sqlClient, org.babyfish.jimmer.meta.ImmutableType immutableType, ExecutionPurpose purpose, boolean ignoreFilter) -
MutableRootQueryImpl
public MutableRootQueryImpl(JSqlClientImplementor sqlClient, TableProxy<?> table, ExecutionPurpose purpose, boolean ignoreFilter) -
MutableRootQueryImpl
public MutableRootQueryImpl(StatementContext ctx, JSqlClientImplementor sqlClient, org.babyfish.jimmer.meta.ImmutableType immutableType) -
MutableRootQueryImpl
public MutableRootQueryImpl(StatementContext ctx, JSqlClientImplementor sqlClient, TableProxy<?> table)
-
-
方法详细资料
-
getParent
- 指定者:
getParent在类中AbstractMutableStatementImpl
-
getContext
- 指定者:
getContext在类中AbstractMutableStatementImpl
-
select
- 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2> ConfigurableRootQuery<T,org.babyfish.jimmer.sql.ast.tuple.Tuple2<T1, selectT2>> (Selection<T1> selection1, Selection<T2> selection2) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2, ConfigurableRootQuery<T,T3> org.babyfish.jimmer.sql.ast.tuple.Tuple3<T1, selectT2, T3>> (Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2, ConfigurableRootQuery<T,T3, T4> org.babyfish.jimmer.sql.ast.tuple.Tuple4<T1, selectT2, T3, T4>> (Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2, ConfigurableRootQuery<T,T3, T4, T5> org.babyfish.jimmer.sql.ast.tuple.Tuple5<T1, selectT2, T3, T4, T5>> (Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2, ConfigurableRootQuery<T,T3, T4, T5, T6> org.babyfish.jimmer.sql.ast.tuple.Tuple6<T1, selectT2, T3, T4, T5, T6>> (Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2, ConfigurableRootQuery<T,T3, T4, T5, T6, T7> org.babyfish.jimmer.sql.ast.tuple.Tuple7<T1, selectT2, T3, T4, T5, T6, T7>> (Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6, Selection<T7> selection7) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2, ConfigurableRootQuery<T,T3, T4, T5, T6, T7, T8> org.babyfish.jimmer.sql.ast.tuple.Tuple8<T1, selectT2, T3, T4, T5, T6, T7, T8>> (Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6, Selection<T7> selection7, Selection<T8> selection8) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
select
public <T1,T2, ConfigurableRootQuery<T,T3, T4, T5, T6, T7, T8, T9> org.babyfish.jimmer.sql.ast.tuple.Tuple9<T1, selectT2, T3, T4, T5, T6, T7, T8, T9>> (Selection<T1> selection1, Selection<T2> selection2, Selection<T3> selection3, Selection<T4> selection4, Selection<T5> selection5, Selection<T6> selection6, Selection<T7> selection7, Selection<T8> selection8, Selection<T9> selection9) - 指定者:
select在接口中RootSelectable<T extends Table<?>>
-
where
从接口复制的说明:FilterableAdd some predicates(logical and)- 指定者:
where在接口中Filterable- 指定者:
where在接口中MutableRootQuery<T extends Table<?>>- 指定者:
where在接口中Sortable- 覆盖:
where在类中AbstractMutableQueryImpl- 参数:
predicates- Predicates, everything one can be null- 返回:
- Return the current object to support chain programming style
-
whereIf
从接口复制的说明:FilterableIf the condition is true, add a predicatePlease look at this example about predicate is not `eq`, `ne`, `like` or `ilike`
The predicate `ge` which is not `eq`, `ne`, `like` or `ilike` cannot be created by null because `NullPointerException` will be thrown. At this time, you can usewhereIf(minPrice != null, table.price().ge(minPrice))Filterable.whereIf(boolean, Supplier)- 指定者:
whereIf在接口中Filterable- 指定者:
whereIf在接口中MutableRootQuery<T extends Table<?>>- 指定者:
whereIf在接口中Sortable- 覆盖:
whereIf在类中AbstractMutableQueryImpl- 参数:
condition- The conditionpredicate- The predicate to be added, can be null- 返回:
- Return the current object to support chain programming style
-
whereIf
从接口复制的说明:FilterableIf the condition is true, add a predicate- 指定者:
whereIf在接口中Filterable- 指定者:
whereIf在接口中MutableRootQuery<T extends Table<?>>- 指定者:
whereIf在接口中Sortable- 覆盖:
whereIf在类中AbstractMutableQueryImpl- 参数:
condition- The conditionblock- A lambda to create predicate when condition is true- 返回:
- Return the current object to support chain programming style
-
groupBy
- 指定者:
groupBy在接口中MutableQuery- 指定者:
groupBy在接口中MutableRootQuery<T extends Table<?>>- 覆盖:
groupBy在类中AbstractMutableQueryImpl
-
having
- 指定者:
having在接口中MutableQuery- 指定者:
having在接口中MutableRootQuery<T extends Table<?>>- 覆盖:
having在类中AbstractMutableQueryImpl
-
orderBy
- 指定者:
orderBy在接口中MutableQuery- 指定者:
orderBy在接口中MutableRootQuery<T extends Table<?>>- 指定者:
orderBy在接口中Sortable- 覆盖:
orderBy在类中AbstractMutableQueryImpl
-
orderByIf
- 指定者:
orderByIf在接口中MutableQuery- 指定者:
orderByIf在接口中MutableRootQuery<T extends Table<?>>- 指定者:
orderByIf在接口中Sortable- 覆盖:
orderByIf在类中AbstractMutableQueryImpl
-
orderBy
- 指定者:
orderBy在接口中MutableQuery- 指定者:
orderBy在接口中MutableRootQuery<T extends Table<?>>- 指定者:
orderBy在接口中Sortable- 覆盖:
orderBy在类中AbstractMutableQueryImpl
-
orderByIf
- 指定者:
orderByIf在接口中MutableQuery- 指定者:
orderByIf在接口中MutableRootQuery<T extends Table<?>>- 指定者:
orderByIf在接口中Sortable- 覆盖:
orderByIf在类中AbstractMutableQueryImpl
-
orderBy
- 指定者:
orderBy在接口中MutableQuery- 指定者:
orderBy在接口中MutableRootQuery<T extends Table<?>>- 指定者:
orderBy在接口中Sortable- 覆盖:
orderBy在类中AbstractMutableQueryImpl
-
orderByIf
- 指定者:
orderByIf在接口中MutableQuery- 指定者:
orderByIf在接口中MutableRootQuery<T extends Table<?>>- 指定者:
orderByIf在接口中Sortable- 覆盖:
orderByIf在类中AbstractMutableQueryImpl
-
onFrozen
protected void onFrozen()- 覆盖:
onFrozen在类中AbstractMutableQueryImpl
-