Class Condition
- java.lang.Object
-
- de.jaggl.sqlbuilder.core.conditions.Condition
-
- Direct Known Subclasses:
CombinedCondition,EmptyCondition,GenericCondition,IsIn,IsLike,IsNotIn,IsNotLike,PlainCondition
public abstract class Condition extends Object
- Since:
- 2.0.0
- Author:
- Martin Schumacher
-
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddPlaceholderSqlTypes(List<Integer> sqlTypes)Conditionand(Condition other)ConditionandNot(Condition other)Conditionappend(Condition other, ConcatenationType concatenationType, ConditionType conditionType)Stringbuild(BuildingContext context, boolean concatenate, Indentation indentation)protected abstract StringdoBuild(BuildingContext context, Indentation indentation)static ConditionemptyCondition()List<Integer>getPlaceholderSqlTypes()static Conditionnested(Condition condition)Conditionor(Condition other)ConditionorNot(Condition other)static Conditionplain(String plainCondition)protected static List<Integer>resolvePlaceholderSqlTypes(Object... values)
-
-
-
Method Detail
-
doBuild
protected abstract String doBuild(BuildingContext context, Indentation indentation)
-
build
public String build(BuildingContext context, boolean concatenate, Indentation indentation)
-
append
public Condition append(Condition other, ConcatenationType concatenationType, ConditionType conditionType)
-
emptyCondition
public static Condition emptyCondition()
-
resolvePlaceholderSqlTypes
protected static List<Integer> resolvePlaceholderSqlTypes(Object... values)
-
-