Class DefaultMatchConditionFactory
java.lang.Object
de.calamanari.adl.sql.cnv.DefaultMatchConditionFactory
- All Implemented Interfaces:
MatchConditionFactory
The
DefaultMatchConditionFactory provides integrated caching, so the exact same comparison or (NOT) IN-clause won't be prepared twice which also
reduces the number of different parameters.- Author:
- Karl Eilebrecht
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInClauseCondition(List<de.calamanari.adl.irl.SimpleExpression> expressions) createSimpleCondition(de.calamanari.adl.irl.SimpleExpression expression) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MatchConditionFactory
createMatchCondition
-
Constructor Details
-
DefaultMatchConditionFactory
-
-
Method Details
-
createSimpleCondition
- Specified by:
createSimpleConditionin interfaceMatchConditionFactory- Parameters:
expression-- Returns:
- condition
- See Also:
-
createInClauseCondition
public MatchCondition createInClauseCondition(List<de.calamanari.adl.irl.SimpleExpression> expressions) - Specified by:
createInClauseConditionin interfaceMatchConditionFactory- Parameters:
expressions- list with expressions, all related to the same argName, either all matches or all negations- Returns:
- condition
- See Also:
-