public class ConditionChain extends Object implements IConditionChain<ConditionChain,TableField,Cmd,Object>, ICondition
| 构造器和说明 |
|---|
ConditionChain(ConditionFactory conditionFactory) |
ConditionChain(ConditionFactory conditionFactory,
ConditionChain parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConditionChain |
and() |
<T> ConditionChain |
and(boolean when,
Getter<T> column,
int storey,
Function<TableField,ICondition> f) |
ConditionChain |
and(boolean when,
GetterField[] getterFields,
Function<TableField[],ICondition> f) |
ConditionChain |
and(ICondition condition) |
protected void |
appendCondition(Connector connector,
ICondition condition) |
<T> ConditionChain |
between(boolean when,
Getter<T> column,
int storey,
Object value,
Object value2) |
ConditionChain |
between(Cmd column,
Object value,
Object value2) |
boolean |
contain(Cmd cmd) |
<T> ConditionChain |
empty(boolean when,
Getter<T> column,
int storey) |
ConditionChain |
empty(Cmd column) |
<T,T2> ConditionChain |
eq(boolean when,
Getter<T> column,
int columnStorey,
Getter<T2> value,
int valueStorey) |
<T> ConditionChain |
eq(boolean when,
Getter<T> column,
int storey,
Object value) |
ConditionChain |
eq(Cmd column,
Object value) |
<T1,T2> ConditionChain |
exists(boolean when,
Getter<T1> sourceGetter,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
<T1,T2> ConditionChain |
exists(boolean when,
Getter<T1> sourceGetter,
int sourceStorey,
Getter<T2> targetGetter) |
<T1,T2> ConditionChain |
exists(boolean when,
Getter<T1> sourceGetter,
int sourceStorey,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
ConditionChain |
exists(boolean when,
IQuery query) |
<T1,T2> ConditionChain |
exists(Getter<T1> sourceGetter,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
<T1,T2> ConditionChain |
exists(Getter<T1> sourceGetter,
int sourceStorey,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
List<ConditionBlock> |
getConditionBlocks() |
ConditionFactory |
getConditionFactory() |
<T,T2> ConditionChain |
gt(boolean when,
Getter<T> column,
int columnStorey,
Getter<T2> value,
int valueStorey) |
<T> ConditionChain |
gt(boolean when,
Getter<T> column,
int storey,
Object value) |
ConditionChain |
gt(Cmd column,
Object value) |
<T,T2> ConditionChain |
gte(boolean when,
Getter<T> column,
int columnStorey,
Getter<T2> value,
int valueStorey) |
<T> ConditionChain |
gte(boolean when,
Getter<T> column,
int storey,
Object value) |
ConditionChain |
gte(Cmd column,
Object value) |
boolean |
hasContent() |
<T> ConditionChain |
iLike(boolean when,
LikeMode mode,
Getter<T> column,
int storey,
String value) |
ConditionChain |
iLike(LikeMode mode,
Cmd column,
String value) |
<T> ConditionChain |
in(boolean when,
Getter<T> column,
int storey,
Collection<? extends Serializable> values) |
<T> ConditionChain |
in(boolean when,
Getter<T> column,
int storey,
IQuery query) |
<T> ConditionChain |
in(boolean when,
Getter<T> column,
int storey,
Serializable[] values) |
ConditionChain |
in(Cmd cmd,
Collection<? extends Serializable> values) |
ConditionChain |
in(Cmd cmd,
IQuery query) |
ConditionChain |
in(Cmd cmd,
Serializable... values) |
<T> ConditionChain |
isNotNull(boolean when,
Getter<T> column,
int storey) |
ConditionChain |
isNotNull(Cmd column) |
<T> ConditionChain |
isNull(boolean when,
Getter<T> column,
int storey) |
ConditionChain |
isNull(Cmd column) |
<T> ConditionChain |
like(boolean when,
LikeMode mode,
Getter<T> column,
int storey,
String value) |
ConditionChain |
like(LikeMode mode,
Cmd column,
String value) |
<T,T2> ConditionChain |
lt(boolean when,
Getter<T> column,
int columnStorey,
Getter<T2> value,
int valueStorey) |
<T> ConditionChain |
lt(boolean when,
Getter<T> column,
int storey,
Object value) |
ConditionChain |
lt(Cmd column,
Object value) |
<T,T2> ConditionChain |
lte(boolean when,
Getter<T> column,
int columnStorey,
Getter<T2> value,
int valueStorey) |
<T> ConditionChain |
lte(boolean when,
Getter<T> column,
int storey,
Object value) |
ConditionChain |
lte(Cmd column,
Object value) |
<T,T2> ConditionChain |
ne(boolean when,
Getter<T> column,
int columnStorey,
Getter<T2> value,
int valueStorey) |
<T> ConditionChain |
ne(boolean when,
Getter<T> column,
int storey,
Object value) |
ConditionChain |
ne(Cmd column,
Object value) |
ConditionChain |
newInstance() |
<T> ConditionChain |
notBetween(boolean when,
Getter<T> column,
int storey,
Object value,
Object value2) |
ConditionChain |
notBetween(Cmd column,
Object value,
Object value2) |
<T> ConditionChain |
notEmpty(boolean when,
Getter<T> column,
int storey) |
ConditionChain |
notEmpty(Cmd column) |
<T1,T2> ConditionChain |
notExists(boolean when,
Getter<T1> sourceGetter,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
<T1,T2> ConditionChain |
notExists(boolean when,
Getter<T1> sourceGetter,
int sourceStorey,
Getter<T2> targetGetter) |
<T1,T2> ConditionChain |
notExists(boolean when,
Getter<T1> sourceGetter,
int sourceStorey,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
ConditionChain |
notExists(boolean when,
IQuery query) |
<T1,T2> ConditionChain |
notExists(Getter<T1> sourceGetter,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
<T1,T2> ConditionChain |
notExists(Getter<T1> sourceGetter,
int sourceStorey,
Getter<T2> targetGetter,
Consumer<AbstractSubQuery<?,?>> consumer) |
<T> ConditionChain |
notILike(boolean when,
LikeMode mode,
Getter<T> column,
int storey,
String value) |
ConditionChain |
notILike(LikeMode mode,
Cmd column,
String value) |
<T> ConditionChain |
notIn(boolean when,
Getter<T> column,
int storey,
Collection<? extends Serializable> values) |
<T> ConditionChain |
notIn(boolean when,
Getter<T> column,
int storey,
IQuery query) |
<T> ConditionChain |
notIn(boolean when,
Getter<T> column,
int storey,
Serializable[] values) |
ConditionChain |
notIn(Cmd cmd,
Collection<? extends Serializable> values) |
ConditionChain |
notIn(Cmd cmd,
IQuery query) |
ConditionChain |
notIn(Cmd cmd,
Serializable... values) |
<T> ConditionChain |
notLike(boolean when,
LikeMode mode,
Getter<T> column,
int storey,
String value) |
ConditionChain |
notLike(LikeMode mode,
Cmd column,
String value) |
ConditionChain |
or() |
<T> ConditionChain |
or(boolean when,
Getter<T> column,
int storey,
Function<TableField,ICondition> f) |
ConditionChain |
or(boolean when,
GetterField[] getterFields,
Function<TableField[],ICondition> f) |
ConditionChain |
or(ICondition condition) |
ConditionChain |
setIgnoreEmpty(boolean bool) |
ConditionChain |
setIgnoreNull(boolean bool) |
ConditionChain |
setStringTrim(boolean bool) |
StringBuilder |
sql(Cmd module,
Cmd parent,
SqlBuilderContext context,
StringBuilder sqlBuilder) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandNested, orNested$conditionWhenFalseRV, between, empty, empty, empty, eq, gt, gte, iLike, iLike, iLike, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, like, like, like, lt, lte, ne, notBetween, notEmpty, notEmpty, notEmpty, notILike, notILike, notILike, notLike, notLike, notLikeeq, eqne, negt, gtgte, gte, gte, gte, gte, gtegte, gtelt, ltlte, lte, lte, lte, lte, ltelte, ltelike, like, like, like, like, like, likelike, like, like, likenotLike, notLike, notLike, notLike, notLike, notLike, notLikenotLike, notLike, notLike, notLikeiLike, iLike, iLike, iLike, iLike, iLike, iLikeiLike, iLike, iLike, iLikenotILike, notILike, notILike, notILike, notILike, notILike, notILikenotILike, notILike, notILike, notILikebetween, between, between, between, betweenbetween, between, between, between, between, between, between, between, betweennotBetween, notBetween, notBetween, notBetween, notBetweennotBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetweenisNull, isNullisNotNull, isNotNullempty, empty, emptynotEmpty, notEmpty, notEmptyin, in, in, in, in, in, in, in, innotIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notInpublic ConditionChain(ConditionFactory conditionFactory)
public ConditionChain(ConditionFactory conditionFactory, ConditionChain parent)
public ConditionFactory getConditionFactory()
public ConditionChain setIgnoreNull(boolean bool)
setIgnoreNull 在接口中 IConditionChain<ConditionChain,TableField,Cmd,Object>public ConditionChain setIgnoreEmpty(boolean bool)
setIgnoreEmpty 在接口中 IConditionChain<ConditionChain,TableField,Cmd,Object>public ConditionChain setStringTrim(boolean bool)
setStringTrim 在接口中 IConditionChain<ConditionChain,TableField,Cmd,Object>public ConditionChain and(ICondition condition)
and 在接口中 IConditionChainAnd<ConditionChain,TableField>public ConditionChain or(ICondition condition)
or 在接口中 IConditionChainOr<ConditionChain,TableField>public boolean hasContent()
hasContent 在接口中 IConditionChain<ConditionChain,TableField,Cmd,Object>public ConditionChain newInstance()
newInstance 在接口中 IConditionChain<ConditionChain,TableField,Cmd,Object>protected void appendCondition(Connector connector, ICondition condition)
public List<ConditionBlock> getConditionBlocks()
public ConditionChain and()
and 在接口中 IConditionChainAnd<ConditionChain,TableField>public ConditionChain or()
or 在接口中 IConditionChainOr<ConditionChain,TableField>public <T> ConditionChain and(boolean when, Getter<T> column, int storey, Function<TableField,ICondition> f)
and 在接口中 IConditionChainAnd<ConditionChain,TableField>public <T> ConditionChain or(boolean when, Getter<T> column, int storey, Function<TableField,ICondition> f)
or 在接口中 IConditionChainOr<ConditionChain,TableField>public ConditionChain and(boolean when, GetterField[] getterFields, Function<TableField[],ICondition> f)
and 在接口中 IConditionChainAnd<ConditionChain,TableField>public ConditionChain or(boolean when, GetterField[] getterFields, Function<TableField[],ICondition> f)
or 在接口中 IConditionChainOr<ConditionChain,TableField>public <T> ConditionChain empty(boolean when, Getter<T> column, int storey)
empty 在接口中 IEmptyGetterCompare<ConditionChain>public ConditionChain empty(Cmd column)
empty 在接口中 ICompare<ConditionChain,Cmd,Object>public <T> ConditionChain notEmpty(boolean when, Getter<T> column, int storey)
notEmpty 在接口中 INotEmptyGetterCompare<ConditionChain>public ConditionChain notEmpty(Cmd column)
notEmpty 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain eq(Cmd column, Object value)
eq 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain ne(Cmd column, Object value)
ne 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain gt(Cmd column, Object value)
gt 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain gte(Cmd column, Object value)
gte 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain lt(Cmd column, Object value)
lt 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain lte(Cmd column, Object value)
lte 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain between(Cmd column, Object value, Object value2)
between 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain notBetween(Cmd column, Object value, Object value2)
notBetween 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain isNull(Cmd column)
isNull 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain isNotNull(Cmd column)
isNotNull 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain like(LikeMode mode, Cmd column, String value)
like 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain notLike(LikeMode mode, Cmd column, String value)
notLike 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain iLike(LikeMode mode, Cmd column, String value)
iLike 在接口中 ICompare<ConditionChain,Cmd,Object>public ConditionChain notILike(LikeMode mode, Cmd column, String value)
notILike 在接口中 ICompare<ConditionChain,Cmd,Object>public <T> ConditionChain between(boolean when, Getter<T> column, int storey, Object value, Object value2)
between 在接口中 IBetweenGetterCompare<ConditionChain,Object>between 在接口中 IBetweenGetterPredicateCompare<ConditionChain,Object>public <T> ConditionChain eq(boolean when, Getter<T> column, int storey, Object value)
eq 在接口中 IEqGetterCompare<ConditionChain,Object>eq 在接口中 IEqGetterPredicateCompare<ConditionChain,Object>public <T,T2> ConditionChain eq(boolean when, Getter<T> column, int columnStorey, Getter<T2> value, int valueStorey)
eq 在接口中 IEqGetterCompare<ConditionChain,Object>public <T> ConditionChain gt(boolean when, Getter<T> column, int storey, Object value)
gt 在接口中 IGtGetterCompare<ConditionChain,Object>gt 在接口中 IGtGetterPredicateCompare<ConditionChain,Object>public <T,T2> ConditionChain gt(boolean when, Getter<T> column, int columnStorey, Getter<T2> value, int valueStorey)
gt 在接口中 IGtGetterCompare<ConditionChain,Object>public <T> ConditionChain gte(boolean when, Getter<T> column, int storey, Object value)
gte 在接口中 IGteGetterCompare<ConditionChain,Object>gte 在接口中 IGteGetterPredicateCompare<ConditionChain,Object>public <T,T2> ConditionChain gte(boolean when, Getter<T> column, int columnStorey, Getter<T2> value, int valueStorey)
gte 在接口中 IGteGetterCompare<ConditionChain,Object>public <T> ConditionChain like(boolean when, LikeMode mode, Getter<T> column, int storey, String value)
like 在接口中 ILikeGetterCompare<ConditionChain>like 在接口中 ILikeGetterPredicateCompare<ConditionChain>public <T> ConditionChain iLike(boolean when, LikeMode mode, Getter<T> column, int storey, String value)
iLike 在接口中 IILikeGetterCompare<ConditionChain>iLike 在接口中 IILikeGetterPredicateCompare<ConditionChain>public <T> ConditionChain notLike(boolean when, LikeMode mode, Getter<T> column, int storey, String value)
notLike 在接口中 INotLikeGetterCompare<ConditionChain>notLike 在接口中 INotLikeGetterPredicateCompare<ConditionChain>public <T> ConditionChain notILike(boolean when, LikeMode mode, Getter<T> column, int storey, String value)
notILike 在接口中 INotILikeGetterCompare<ConditionChain>notILike 在接口中 INotILikeGetterPredicateCompare<ConditionChain>public <T> ConditionChain lt(boolean when, Getter<T> column, int storey, Object value)
lt 在接口中 ILtGetterCompare<ConditionChain,Object>lt 在接口中 ILtGetterPredicateCompare<ConditionChain,Object>public <T,T2> ConditionChain lt(boolean when, Getter<T> column, int columnStorey, Getter<T2> value, int valueStorey)
lt 在接口中 ILtGetterCompare<ConditionChain,Object>public <T> ConditionChain lte(boolean when, Getter<T> column, int storey, Object value)
lte 在接口中 ILteGetterCompare<ConditionChain,Object>lte 在接口中 ILteGetterPredicateCompare<ConditionChain,Object>public <T,T2> ConditionChain lte(boolean when, Getter<T> column, int columnStorey, Getter<T2> value, int valueStorey)
lte 在接口中 ILteGetterCompare<ConditionChain,Object>public <T> ConditionChain ne(boolean when, Getter<T> column, int storey, Object value)
ne 在接口中 INeGetterCompare<ConditionChain,Object>ne 在接口中 INeGetterPredicateCompare<ConditionChain,Object>public <T,T2> ConditionChain ne(boolean when, Getter<T> column, int columnStorey, Getter<T2> value, int valueStorey)
ne 在接口中 INeGetterCompare<ConditionChain,Object>public <T> ConditionChain notBetween(boolean when, Getter<T> column, int storey, Object value, Object value2)
public <T> ConditionChain isNotNull(boolean when, Getter<T> column, int storey)
isNotNull 在接口中 IIsNotNullGetterCompare<ConditionChain>public <T> ConditionChain isNull(boolean when, Getter<T> column, int storey)
isNull 在接口中 IIsNullGetterCompare<ConditionChain>public ConditionChain in(Cmd cmd, IQuery query)
in 在接口中 IInMethod<ConditionChain,Cmd>public ConditionChain in(Cmd cmd, Serializable... values)
in 在接口中 IInMethod<ConditionChain,Cmd>public ConditionChain in(Cmd cmd, Collection<? extends Serializable> values)
in 在接口中 IInMethod<ConditionChain,Cmd>public <T> ConditionChain in(boolean when, Getter<T> column, int storey, IQuery query)
in 在接口中 IInGetterCompare<ConditionChain>public <T> ConditionChain in(boolean when, Getter<T> column, int storey, Serializable[] values)
in 在接口中 IInGetterCompare<ConditionChain>public <T> ConditionChain in(boolean when, Getter<T> column, int storey, Collection<? extends Serializable> values)
in 在接口中 IInGetterCompare<ConditionChain>public ConditionChain exists(boolean when, IQuery query)
exists 在接口中 IExistsMethod<ConditionChain>public <T1,T2> ConditionChain exists(boolean when, Getter<T1> sourceGetter, int sourceStorey, Getter<T2> targetGetter)
exists 在接口中 IExistsMethod<ConditionChain>public <T1,T2> ConditionChain exists(Getter<T1> sourceGetter, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public <T1,T2> ConditionChain exists(boolean when, Getter<T1> sourceGetter, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public <T1,T2> ConditionChain exists(Getter<T1> sourceGetter, int sourceStorey, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public <T1,T2> ConditionChain exists(boolean when, Getter<T1> sourceGetter, int sourceStorey, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public ConditionChain notExists(boolean when, IQuery query)
notExists 在接口中 IExistsMethod<ConditionChain>public <T1,T2> ConditionChain notExists(boolean when, Getter<T1> sourceGetter, int sourceStorey, Getter<T2> targetGetter)
notExists 在接口中 IExistsMethod<ConditionChain>public <T1,T2> ConditionChain notExists(Getter<T1> sourceGetter, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public <T1,T2> ConditionChain notExists(boolean when, Getter<T1> sourceGetter, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public <T1,T2> ConditionChain notExists(Getter<T1> sourceGetter, int sourceStorey, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public <T1,T2> ConditionChain notExists(boolean when, Getter<T1> sourceGetter, int sourceStorey, Getter<T2> targetGetter, Consumer<AbstractSubQuery<?,?>> consumer)
public ConditionChain notIn(Cmd cmd, IQuery query)
notIn 在接口中 INotInMethod<ConditionChain,Cmd>public ConditionChain notIn(Cmd cmd, Serializable... values)
notIn 在接口中 INotInMethod<ConditionChain,Cmd>public ConditionChain notIn(Cmd cmd, Collection<? extends Serializable> values)
notIn 在接口中 INotInMethod<ConditionChain,Cmd>public <T> ConditionChain notIn(boolean when, Getter<T> column, int storey, IQuery query)
notIn 在接口中 INotInGetterCompare<ConditionChain>public <T> ConditionChain notIn(boolean when, Getter<T> column, int storey, Serializable[] values)
notIn 在接口中 INotInGetterCompare<ConditionChain>public <T> ConditionChain notIn(boolean when, Getter<T> column, int storey, Collection<? extends Serializable> values)
notIn 在接口中 INotInGetterCompare<ConditionChain>public StringBuilder sql(Cmd module, Cmd parent, SqlBuilderContext context, StringBuilder sqlBuilder)
Copyright © 2025. All rights reserved.