Class CustomWrapperOrCondition
java.lang.Object
com.denodo.vdb.engine.customwrapper.condition.CustomWrapperCondition
com.denodo.vdb.engine.customwrapper.condition.CustomWrapperOrCondition
Defines an OR condition in terms of a list of conditions:
CONDITION_1 OR CONDITION_2 OR ...
-
Field Summary
Fields inherited from class com.denodo.vdb.engine.customwrapper.condition.CustomWrapperCondition
AND, NOT, OPERATOR_BETWEEN, OPERATOR_CONTAINS, OPERATOR_CONTAINSAND, OPERATOR_CONTAINSOR, OPERATOR_EQ, OPERATOR_GE, OPERATOR_GT, OPERATOR_IN, OPERATOR_ISCONTAINED, OPERATOR_ISFALSE, OPERATOR_ISNOTNULL, OPERATOR_ISNULL, OPERATOR_ISSIMILARTO, OPERATOR_ISTRUE, OPERATOR_LE, OPERATOR_LIKE, OPERATOR_LT, OPERATOR_NE, OPERATOR_REGEXPLIKE, OR, SIMPLE -
Constructor Summary
ConstructorsConstructorDescriptionCustomWrapperOrCondition(LinkedList<CustomWrapperCondition> conditionsList) Creates a new OR condition. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCondition(CustomWrapperCondition condition) Adds a condition to the OR condition.protected intgetType()toString()Methods inherited from class com.denodo.vdb.engine.customwrapper.condition.CustomWrapperCondition
isAndCondition, isNotCondition, isOrCondition, isSimpleCondition
-
Constructor Details
-
CustomWrapperOrCondition
Creates a new OR condition.Users do not need to instantiate this class.
- Parameters:
conditionsList- conditions to be added to the OR condition.
-
-
Method Details
-
addCondition
Adds a condition to the OR condition.Users do not need to use this method.
- Parameters:
condition- the condition to be added.
-
getConditions
- Returns:
- the list of conditions of the OR condition.
-
getType
protected int getType()- Specified by:
getTypein classCustomWrapperCondition- Returns:
CustomWrapperCondition.OR
-
toString
-