类 AbstractSortableCondition<C extends AbstractSortableCondition<C>>
java.lang.Object
org.elsfs.tool.sql.abs.CompositeSqlFragment
org.elsfs.tool.sql.abs.AbstractCondition<C>
org.elsfs.tool.sql.abs.AbstractSortableCondition<C>
- 类型参数:
C- 子类具体类型
- 所有已实现的接口:
Condition<C>,Expression<C>,JoinBetween<C>,JoinEq<C>,JoinGe<C>,JoinGt<C>,JoinIn<C>,JoinIsNotNull<C>,JoinIsNull<C>,JoinLe<C>,JoinLike<C>,JoinLikeLeft<C>,JoinLikeRight<C>,JoinLt<C>,JoinNe<C>,JoinNotBetween<C>,JoinNotIn<C>,JoinNotLike<C>,JoinNotLikeRight<C>,JoinNotLikeLeft<C>,SortableCondition<C>,SqlFragment,SqlParameterManagerAware,TableAliasManagerAware,ResolveFieldName
public abstract class AbstractSortableCondition<C extends AbstractSortableCondition<C>>
extends AbstractCondition<C>
implements SortableCondition<C>
抽象可排序条件实现
- 从以下版本开始:
- 0.0.4
- 作者:
- zeng
-
嵌套类概要
从类继承的嵌套类/接口 org.elsfs.tool.sql.abs.AbstractCondition
AbstractCondition.NestConditionImpl, AbstractCondition.OrConditionImpl -
字段概要
从类继承的字段 org.elsfs.tool.sql.abs.AbstractCondition
childThis -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract voidaddOrderItem(OrderItem orderItem) 添加排序项limit(long number) 限制数量排序排序orderBy(boolean isAsc, Collection<String> fields) 排序orderByAsc(Enum<?>... fields) 升序排序orderByAsc(String... fields) 升序排序orderByAsc(Collection<String> fields) 升序排序orderByDesc(Enum<?>... fields) 降序排序orderByDesc(String... fields) 降序排序orderByDesc(Collection<String> fields) 降序排序orderByEnum(boolean isAsc, Collection<Enum<?>> fields) 排序orderByEnumAsc(Collection<Enum<?>> fields) 升序排序orderByEnumDesc(Collection<Enum<?>> fields) 降序排序protected abstract voidsetLimitItem(LimitItem limitItem) 设置限制数量项从类继承的方法 org.elsfs.tool.sql.abs.AbstractCondition
addConditionItem, between, betweenBeginValue, betweenEndValue, betweenValue, eq, eq, eqValue, expression, ge, ge, getSqlParameterManager, getTableAliasManager, geValue, gt, gt, gtValue, in, in, in, in, inValue, inValue, isNotNull, isNotNull, isNull, isNull, le, le, leValue, like, like, like, likeLeft, likeLeft, likeLeft, likeRight, likeRight, likeRight, lt, lt, ltValue, ne, ne, nest, neValue, notBetween, notBetweenBeginValue, notBetweenEndValue, notBetweenValue, notIn, notIn, notIn, notIn, notInValue, notInValue, notLike, notLike, notLike, notLikeLeft, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, notLikeRight, or, resolveFieldName从类继承的方法 org.elsfs.tool.sql.abs.CompositeSqlFragment
addSqlFragment, beforeBuild, buildSqlFragment从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.elsfs.tool.sql.interfaces.Expression
expression, expression从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinBetween
between, between, between, between, between, between, between, between, between, between, between, between, between, between, betweenBeginValue, betweenBeginValue, betweenBeginValue, betweenBeginValue, betweenEndValue, betweenEndValue, betweenEndValue, betweenEndValue, betweenValue, betweenValue, betweenValue, betweenValue, betweenValue, betweenValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinEq
eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, eqValue, eqValue, eqValue, eqValue, eqValue, eqValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinGe
ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, ge, geValue, geValue, geValue, geValue, geValue, geValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinGt
gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gt, gtValue, gtValue, gtValue, gtValue, gtValue, gtValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinIn
in, in, in, in, in, in, in, in, in, in, in, in, in, in, in, in, in, in, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinIsNotNull
isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinIsNull
isNull, isNull, isNull, isNull, isNull, isNull, isNull, isNull从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinLe
le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, le, leValue, leValue, leValue, leValue, leValue, leValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinLikeLeft
likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinLikeRight
likeRight, likeRight, likeRight, likeRight, likeRight, likeRight从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinLt
lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, lt, ltValue, ltValue, ltValue, ltValue, ltValue, ltValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinNe
ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, ne, neValue, neValue, neValue, neValue, neValue, neValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinNotBetween
notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetweenBeginValue, notBetweenBeginValue, notBetweenBeginValue, notBetweenBeginValue, notBetweenEndValue, notBetweenEndValue, notBetweenEndValue, notBetweenEndValue, notBetweenValue, notBetweenValue, notBetweenValue, notBetweenValue, notBetweenValue, notBetweenValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinNotIn
notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinNotLike
notLike, notLike, notLike, notLike, notLike, notLike从接口继承的方法 org.elsfs.tool.sql.interfaces.single.JoinNotLikeLeft
notLikeLeft, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, notLikeRight从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinNotLikeRight
notLikeRight, notLikeRight, notLikeRight, notLikeRight, notLikeRight, notLikeRight从接口继承的方法 org.elsfs.tool.sql.resolve.ResolveFieldName
resolveFieldName, resolveFieldName从接口继承的方法 org.elsfs.tool.sql.interfaces.SortableCondition
limit, orderBy, orderBy, orderBy, orderByAsc, orderByAsc, orderByAsc, orderByDesc, orderByDesc, orderByDesc, orderByEnum, orderByEnumAsc, orderByEnumDesc从接口继承的方法 org.elsfs.tool.sql.interfaces.SqlFragment
buildSqlFragment
-
构造器详细资料
-
AbstractSortableCondition
public AbstractSortableCondition()
-
-
方法详细资料
-
orderByAsc
升序排序- 指定者:
orderByAsc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段- 返回:
- 具体实现
-
orderByAsc
升序排序- 指定者:
orderByAsc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段枚举- 返回:
- 具体实现
-
orderByAsc
升序排序- 指定者:
orderByAsc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段- 返回:
- 具体实现
-
orderByEnumAsc
升序排序- 指定者:
orderByEnumAsc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段枚举- 返回:
- 具体实现
-
orderByDesc
降序排序- 指定者:
orderByDesc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段- 返回:
- 具体实现
-
orderByDesc
降序排序- 指定者:
orderByDesc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段枚举- 返回:
- 具体实现
-
orderByDesc
降序排序- 指定者:
orderByDesc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段- 返回:
- 具体实现
-
orderByEnumDesc
降序排序- 指定者:
orderByEnumDesc在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
fields- 排序字段枚举- 返回:
- 具体实现
-
orderBy
排序- 指定者:
orderBy在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
isAsc- 是否升序fields- 排序字段- 返回:
- 具体实现
-
orderBy
排序- 指定者:
orderBy在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
isAsc- 是否升序fields- 排序字段枚举- 返回:
- 具体实现
-
orderBy
排序- 指定者:
orderBy在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
isAsc- 是否升序fields- 排序字段- 返回:
- 具体实现
-
orderByEnum
排序- 指定者:
orderByEnum在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
isAsc- 是否升序fields- 排序字段枚举- 返回:
- 具体实现
-
limit
限制数量- 指定者:
limit在接口中SortableCondition<C extends AbstractSortableCondition<C>>- 参数:
number- 数量- 返回:
- 具体实现
-
addOrderItem
添加排序项- 参数:
orderItem- 排序项
-
setLimitItem
设置限制数量项- 参数:
limitItem- 限制数量项
-