类 AbstractMutableQueryImpl
java.lang.Object
org.babyfish.jimmer.sql.ast.impl.AbstractMutableStatementImpl
org.babyfish.jimmer.sql.ast.impl.query.AbstractMutableQueryImpl
- 所有已实现的接口:
FilterableImplementor,MutableStatementImplementor,Filterable,MutableQuery,Sortable,SubQueryProvider
- 直接已知子类:
MutableRootQueryImpl,MutableSubQueryImpl
public abstract class AbstractMutableQueryImpl
extends AbstractMutableStatementImpl
implements MutableQuery
-
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final int -
构造器概要
构造器限定符构造器说明protectedAbstractMutableQueryImpl(JSqlClientImplementor sqlClient, org.babyfish.jimmer.meta.ImmutableType immutableType) protectedAbstractMutableQueryImpl(JSqlClientImplementor sqlClient, TableProxy<?> table) -
方法概要
修饰符和类型方法说明intprotected List<Expression<?>>getHavingPredicate(AstContext astContext) groupBy(Expression<?>... expressions) protected booleanprotected voidonFrozen(AstContext astContext) orderBy(Expression<?>... expressions) orderByIf(boolean condition, Expression<?>... expressions) voidsetHavingPredicates(List<Predicate> havingPredicates) voidsetOrderByPriority(int priority) 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.AbstractMutableStatementImpl
applyDataLoaderGlobalFilters, applyGlobalFilters, applyVirtualPredicates, createAssociationSubQuery, createSubQuery, freeze, getContext, getFilterPredicate, getParent, getPredicate, getPredicates, getPurpose, getSqlClient, getTable, getTableImplementor, hasVirtualPredicate, mergePredicates, modCount, modify, resolveVirtualPredicate, unfrozenPredicates, validateMutable, whereByFilter从类继承的方法 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
-
字段详细资料
-
ORDER_BY_PRIORITY_STATEMENT
public static final int ORDER_BY_PRIORITY_STATEMENT- 另请参阅:
-
ORDER_BY_PRIORITY_GLOBAL_FILTER
public static final int ORDER_BY_PRIORITY_GLOBAL_FILTER- 另请参阅:
-
ORDER_BY_PRIORITY_PROP_FILTER
public static final int ORDER_BY_PRIORITY_PROP_FILTER- 另请参阅:
-
-
构造器详细资料
-
AbstractMutableQueryImpl
protected AbstractMutableQueryImpl(JSqlClientImplementor sqlClient, org.babyfish.jimmer.meta.ImmutableType immutableType) -
AbstractMutableQueryImpl
-
-
方法详细资料
-
where
从接口复制的说明:FilterableAdd some predicates(logical and)- 指定者:
where在接口中Filterable- 指定者:
where在接口中Sortable- 覆盖:
where在类中AbstractMutableStatementImpl- 参数:
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在接口中Sortable- 参数:
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在接口中Sortable- 参数:
condition- The conditionblock- A lambda to create predicate when condition is true- 返回:
- Return the current object to support chain programming style
-
groupBy
- 指定者:
groupBy在接口中MutableQuery
-
having
- 指定者:
having在接口中MutableQuery
-
orderBy
- 指定者:
orderBy在接口中MutableQuery- 指定者:
orderBy在接口中Sortable
-
orderByIf
- 指定者:
orderByIf在接口中MutableQuery- 指定者:
orderByIf在接口中Sortable
-
orderBy
- 指定者:
orderBy在接口中MutableQuery- 指定者:
orderBy在接口中Sortable
-
orderByIf
- 指定者:
orderByIf在接口中MutableQuery- 指定者:
orderByIf在接口中Sortable
-
orderBy
- 指定者:
orderBy在接口中MutableQuery- 指定者:
orderBy在接口中Sortable
-
orderByIf
- 指定者:
orderByIf在接口中MutableQuery- 指定者:
orderByIf在接口中Sortable
-
getHavingPredicate
-
onFrozen
- 覆盖:
onFrozen在类中AbstractMutableStatementImpl
-
isGroupByClauseUsed
protected boolean isGroupByClauseUsed() -
getGroupExpressions
-
getHavingPredicates
-
setHavingPredicates
-
getOrders
-
getAcceptedOrderByPriority
public int getAcceptedOrderByPriority() -
setOrderByPriority
public void setOrderByPriority(int priority)
-