接口 MutableRootQuery<T extends Table<?>>
- 所有超级接口:
Filterable,MutableQuery,RootSelectable<T>,Sortable
- 所有已知实现类:
MutableRootQueryImpl
-
方法概要
修饰符和类型方法说明groupBy(Expression<?>... expressions) orderBy(Expression<?>... expressions) default MutableRootQuery<T>default MutableRootQuery<T>orderByIf(boolean condition, Expression<?>... expressions) default MutableRootQuery<T>Add some predicates(logical and)default MutableRootQuery<T>If the condition is true, add a predicatedefault MutableRootQuery<T>If the condition is true, add a predicate
-
方法详细资料
-
where
从接口复制的说明:FilterableAdd some predicates(logical and)- 指定者:
where在接口中Filterable- 指定者:
where在接口中Sortable- 参数:
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
-
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
-
groupBy
- 指定者:
groupBy在接口中MutableQuery
-
having
- 指定者:
having在接口中MutableQuery
-