类 AbstractCondition<C extends Condition<C>>
java.lang.Object
org.elsfs.tool.sql.abs.CompositeSqlFragment
org.elsfs.tool.sql.abs.AbstractCondition<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>,SqlFragment,SqlParameterManagerAware,TableAliasManagerAware,ResolveFieldName
- 直接已知子类:
AbstractJoin.JoinBuilderImpl.JoinConditionBuilderImpl,AbstractNestCondition,AbstractOrCondition,AbstractSelectCondition.HavingConditionBuilderImpl,AbstractSelectJoin.SelectJoinBuilderImpl.JoinConditionBuilderImpl,AbstractSortableCondition
public abstract class AbstractCondition<C extends Condition<C>>
extends CompositeSqlFragment
implements Condition<C>, SqlParameterManagerAware, TableAliasManagerAware
抽象条件实现
- 作者:
- zeng
-
嵌套类概要
嵌套类修饰符和类型类说明class嵌套条件构建实现classOr条件构建实现 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract voidaddConditionItem(ConditionItem conditionItem) 添加一个条件区间条件betweenBeginValue(boolean condition, String leftField, Object beginValue, String endField) 区间条件betweenEndValue(boolean condition, String leftField, String beginField, Object endValue) 区间条件betweenValue(boolean condition, String leftField, Object beginValue, Object endValue) 区间条件相等条件eq(boolean condition, String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 相等条件相等条件expression(String expression, Object... args) 表达式匹配条件大于等于条件ge(boolean condition, String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 大于等于条件获取SQL参数管理器获取表别名管理器大于等于条件大于条件gt(boolean condition, String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 大于条件大于条件范围条件in(String leftField, Collection<String> rightFields) 范围条件in(String leftField, Collection<String> rightFields, Collection<?> rightValues) 范围条件in(String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 范围条件范围条件inValue(String leftField, Collection<?> rightValues) 范围条件非空条件isNotNull(Consumer<StandardSelectSql> sqlBuilderConsumer) 非空条件为空条件isNull(Consumer<StandardSelectSql> sqlBuilderConsumer) 为空条件小于等于条件le(boolean condition, String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 小于等于条件小于等于条件模糊匹配条件模糊匹配条件模糊匹配条件左模糊匹配条件左模糊匹配条件左模糊匹配条件右模糊匹配条件右模糊匹配条件右模糊匹配条件小于条件lt(boolean condition, String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 小于条件小于条件不相等条件ne(boolean condition, String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 不相等条件nest()嵌套条件不相等条件notBetween(boolean condition, String leftField, String beginField, String endField) 非区间条件notBetweenBeginValue(boolean condition, String leftField, Object beginValue, String endField) 非区间条件notBetweenEndValue(boolean condition, String leftField, String beginField, Object endValue) 非区间条件notBetweenValue(boolean condition, String leftField, Object beginValue, Object endValue) 非区间条件非范围条件notIn(String leftField, Collection<String> rightFields) 非范围条件notIn(String leftField, Collection<String> rightFields, Collection<?> rightValues) 非范围条件notIn(String leftField, Consumer<StandardSelectSql> sqlBuilderConsumer) 非范围条件notInValue(String leftField, Object... rightValues) 非范围条件notInValue(String leftField, Collection<?> rightValues) 非范围条件非模糊匹配条件非模糊匹配条件非模糊匹配条件notLikeLeft(Enum<?> field, String value) 非左模糊匹配条件notLikeLeft(String tableAlias, Enum<?> field, String value) 非左模糊匹配条件notLikeLeft(String field, String value) 非左模糊匹配条件notLikeRight(Enum<?> field, String value) 非右模糊匹配条件notLikeRight(String tableAlias, Enum<?> field, String value) 非右模糊匹配条件notLikeRight(String field, String value) 非右模糊匹配条件or()开始或条件resolveFieldName(Enum<?> field) 解析字段枚举名称从类继承的方法 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从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinBetween
between, between, between, between, between, between, between, between, between, between, between, between, between, betweenBeginValue, betweenBeginValue, betweenBeginValue, betweenEndValue, betweenEndValue, betweenEndValue, 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, 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, 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, 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, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue, inValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinIsNotNull
isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinIsNull
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, leValue, leValue, leValue, leValue, leValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinLikeLeft
likeLeft, likeLeft, likeLeft从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinLikeRight
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, 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, 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, notBetweenBeginValue, notBetweenBeginValue, notBetweenBeginValue, notBetweenEndValue, notBetweenEndValue, notBetweenEndValue, 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, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue, notInValue从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinNotLike
notLike, notLike, notLike从接口继承的方法 org.elsfs.tool.sql.interfaces.join.JoinNotLikeRight
notLikeRight, notLikeRight, notLikeRight从接口继承的方法 org.elsfs.tool.sql.resolve.ResolveFieldName
resolveFieldName从接口继承的方法 org.elsfs.tool.sql.interfaces.SqlFragment
buildSqlFragment
-
字段详细资料
-
childThis
子类实现
-
-
构造器详细资料
-
AbstractCondition
public AbstractCondition()
-
-
方法详细资料
-
eq
从接口复制的说明:JoinEq相等条件 -
eq
从接口复制的说明:JoinEq相等条件 -
eqValue
从接口复制的说明:JoinEq相等条件 -
ne
从接口复制的说明:JoinNe不相等条件 -
ne
不相等条件 -
neValue
从接口复制的说明:JoinNe不相等条件 -
lt
小于条件 -
lt
小于条件 -
resolveFieldName
解析字段枚举名称- 指定者:
resolveFieldName在接口中ResolveFieldName- 参数:
field- 字段枚举- 返回:
- 字段名称
-
ltValue
小于条件 -
le
小于等于条件 -
le
小于等于条件 -
leValue
从接口复制的说明:JoinLe小于等于条件 -
gt
从接口复制的说明:JoinGt大于条件 -
gt
从接口复制的说明:JoinGt大于条件 -
gtValue
大于条件 -
ge
从接口复制的说明:JoinGe大于等于条件 -
ge
大于等于条件 -
geValue
大于等于条件 -
between
区间条件- 指定者:
between在接口中JoinBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginField- 区间开始字段名称endField- 区间结束字段名称condition- 条件- 返回:
- 具体实现
-
betweenBeginValue
区间条件- 指定者:
betweenBeginValue在接口中JoinBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginValue- 区间开始值endField- 区间结束字段名称condition- 条件- 返回:
- 具体实现
-
betweenEndValue
区间条件- 指定者:
betweenEndValue在接口中JoinBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginField- 区间开始字段名称endValue- 区间结束值condition- 条件- 返回:
- 具体实现
-
betweenValue
区间条件- 指定者:
betweenValue在接口中JoinBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginValue- 区间开始值endValue- 区间结束值condition- 条件- 返回:
- 具体实现
-
notBetween
非区间条件- 指定者:
notBetween在接口中JoinNotBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginField- 区间开始字段名称endField- 区间结束字段名称condition- 条件- 返回:
- 具体实现
-
notBetweenBeginValue
public C notBetweenBeginValue(boolean condition, String leftField, Object beginValue, String endField) 非区间条件- 指定者:
notBetweenBeginValue在接口中JoinNotBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginValue- 区间开始值endField- 区间结束字段名称condition- 条件- 返回:
- 具体实现
-
notBetweenEndValue
public C notBetweenEndValue(boolean condition, String leftField, String beginField, Object endValue) 非区间条件- 指定者:
notBetweenEndValue在接口中JoinNotBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginField- 区间开始字段名称endValue- 区间结束值condition- 条件- 返回:
- 具体实现
-
notBetweenValue
非区间条件- 指定者:
notBetweenValue在接口中JoinNotBetween<C extends Condition<C>>- 参数:
leftField- 左边字段名称beginValue- 区间开始值endValue- 区间结束值condition- 条件- 返回:
- 具体实现
-
in
范围条件 -
in
范围条件 -
in
范围条件 -
in
范围条件 -
inValue
范围条件 -
inValue
范围条件 -
notIn
非范围条件 -
notIn
非范围条件 -
notIn
非范围条件 -
notIn
非范围条件 -
notInValue
非范围条件- 指定者:
notInValue在接口中JoinNotIn<C extends Condition<C>>- 参数:
leftField- 左边字段名称rightValues- 范围值- 返回:
- 具体实现
-
notInValue
非范围条件- 指定者:
notInValue在接口中JoinNotIn<C extends Condition<C>>- 参数:
leftField- 左边字段名称rightValues- 范围值- 返回:
- 具体实现
-
isNull
为空条件- 指定者:
isNull在接口中JoinIsNull<C extends Condition<C>>- 参数:
field- 字段名称- 返回:
- 具体实现
-
isNull
为空条件- 指定者:
isNull在接口中JoinIsNull<C extends Condition<C>>- 参数:
sqlBuilderConsumer- SQL构建器消费器- 返回:
- 具体实现
-
isNotNull
非空条件- 指定者:
isNotNull在接口中JoinIsNotNull<C extends Condition<C>>- 参数:
field- 字段名称- 返回:
- 具体实现
-
isNotNull
非空条件- 指定者:
isNotNull在接口中JoinIsNotNull<C extends Condition<C>>- 参数:
sqlBuilderConsumer- SQL构建器消费器- 返回:
- 具体实现
-
like
模糊匹配条件 -
like
模糊匹配条件 -
like
模糊匹配条件 -
likeLeft
左模糊匹配条件- 指定者:
likeLeft在接口中JoinLikeLeft<C extends Condition<C>>- 参数:
field- 字段名称value- 匹配值- 返回:
- 具体实现
-
likeLeft
左模糊匹配条件- 指定者:
likeLeft在接口中JoinLikeLeft<C extends Condition<C>>- 参数:
field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
likeLeft
左模糊匹配条件- 指定者:
likeLeft在接口中JoinLikeLeft<C extends Condition<C>>- 参数:
tableAlias- 字段表别名field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
likeRight
右模糊匹配条件- 指定者:
likeRight在接口中JoinLikeRight<C extends Condition<C>>- 参数:
field- 字段名称value- 匹配值- 返回:
- 具体实现
-
likeRight
右模糊匹配条件- 指定者:
likeRight在接口中JoinLikeRight<C extends Condition<C>>- 参数:
field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
likeRight
右模糊匹配条件- 指定者:
likeRight在接口中JoinLikeRight<C extends Condition<C>>- 参数:
tableAlias- 字段表别名field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
notLike
非模糊匹配条件- 指定者:
notLike在接口中JoinNotLike<C extends Condition<C>>- 参数:
field- 字段名称value- 匹配值- 返回:
- 具体实现
-
notLike
非模糊匹配条件- 指定者:
notLike在接口中JoinNotLike<C extends Condition<C>>- 参数:
field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
notLike
非模糊匹配条件- 指定者:
notLike在接口中JoinNotLike<C extends Condition<C>>- 参数:
tableAlias- 字段表别名field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
notLikeLeft
非左模糊匹配条件- 指定者:
notLikeLeft在接口中JoinNotLikeLeft<C extends Condition<C>>- 参数:
field- 字段名称value- 匹配值- 返回:
- 具体实现
-
notLikeLeft
非左模糊匹配条件- 指定者:
notLikeLeft在接口中JoinNotLikeLeft<C extends Condition<C>>- 参数:
field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
notLikeLeft
非左模糊匹配条件- 指定者:
notLikeLeft在接口中JoinNotLikeLeft<C extends Condition<C>>- 参数:
tableAlias- 字段表别名field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
notLikeRight
非右模糊匹配条件- 指定者:
notLikeRight在接口中JoinNotLikeLeft<C extends Condition<C>>- 指定者:
notLikeRight在接口中JoinNotLikeRight<C extends Condition<C>>- 参数:
field- 字段名称value- 匹配值- 返回:
- 具体实现
-
notLikeRight
非右模糊匹配条件- 指定者:
notLikeRight在接口中JoinNotLikeLeft<C extends Condition<C>>- 指定者:
notLikeRight在接口中JoinNotLikeRight<C extends Condition<C>>- 参数:
field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
notLikeRight
非右模糊匹配条件- 指定者:
notLikeRight在接口中JoinNotLikeLeft<C extends Condition<C>>- 指定者:
notLikeRight在接口中JoinNotLikeRight<C extends Condition<C>>- 参数:
tableAlias- 字段表别名field- 字段枚举value- 匹配值- 返回:
- 具体实现
-
expression
表达式匹配条件- 指定者:
expression在接口中Expression<C extends Condition<C>>- 参数:
expression- 表达式args- 表达式参数- 返回:
- 具体实现
-
nest
嵌套条件 -
or
开始或条件 -
addConditionItem
添加一个条件- 参数:
conditionItem- 条件
-
getSqlParameterManager
获取SQL参数管理器- 指定者:
getSqlParameterManager在接口中SqlParameterManagerAware- 返回:
- SQL参数管理器
-
getTableAliasManager
获取表别名管理器- 指定者:
getTableAliasManager在接口中TableAliasManagerAware- 返回:
- 表名别管理器
-