接口 Sortable
- 所有超级接口:
Filterable
- 所有已知子接口:
FieldFilterArgs<T>,FieldFilterArgsImplementor<T>,FilterArgs<P>,MutableQuery,MutableRootQuery<T>,MutableSubQuery,SortableImplementor
- 所有已知实现类:
AbstractMutableQueryImpl,FieldFilterArgsImpl,FilterArgsImpl,MutableRootQueryImpl,MutableSubQueryImpl
-
方法概要
修饰符和类型方法说明orderBy(Expression<?>... expressions) default Sortabledefault SortableorderByIf(boolean condition, Expression<?>... expressions) default SortableAdd some predicates(logical and)default SortableIf the condition is true, add a predicatedefault SortableIf the condition is true, add a predicate
-
方法详细资料
-
where
从接口复制的说明:FilterableAdd some predicates(logical and)- 指定者:
where在接口中Filterable- 参数:
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- 参数:
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- 参数:
condition- The conditionblock- A lambda to create predicate when condition is true- 返回:
- Return the current object to support chain programming style
-
orderBy
-
orderByIf
-
orderBy
-
orderByIf
-
orderBy
-
orderByIf
-