Class CustomWrapperSimpleCondition
java.lang.Object
com.denodo.vdb.engine.customwrapper.condition.CustomWrapperCondition
com.denodo.vdb.engine.customwrapper.condition.CustomWrapperSimpleCondition
Defines a simple condition in terms of an expression (the left side of the
condition, usually a field's name), an operator and a list of expressions
(the right side of the condition).
- See Also:
-
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
ConstructorsConstructorDescriptionCustomWrapperSimpleCondition
(CustomWrapperExpression field, String operator, CustomWrapperExpression[] rightExpressions) Creates a new simple condition. -
Method Summary
Methods inherited from class com.denodo.vdb.engine.customwrapper.condition.CustomWrapperCondition
isAndCondition, isNotCondition, isOrCondition, isSimpleCondition
-
Constructor Details
-
CustomWrapperSimpleCondition
public CustomWrapperSimpleCondition(CustomWrapperExpression field, String operator, CustomWrapperExpression[] rightExpressions) Creates a new simple condition.Users do not need to instantiate this class.
- Parameters:
field
- the left expression of the condition.operator
- operator of the condition.rightExpressions
- the right expression of the condition.- See Also:
-
-
Method Details
-
getField
- Returns:
- the left expression of the condition.
See
CustomWrapperExpression
for more details.
-
getRightExpression
- Returns:
- the right expressions of the condition.
See
CustomWrapperExpression
for more details.
-
getOperator
- Returns:
- one of the following:
-
CustomWrapperCondition.OPERATOR_EQ
-
CustomWrapperCondition.OPERATOR_LT
-
CustomWrapperCondition.OPERATOR_LE
-
CustomWrapperCondition.OPERATOR_GT
-
CustomWrapperCondition.OPERATOR_GE
-
CustomWrapperCondition.OPERATOR_NE
-
CustomWrapperCondition.OPERATOR_IN
-
CustomWrapperCondition.OPERATOR_BETWEEN
-
CustomWrapperCondition.OPERATOR_ISNULL
-
CustomWrapperCondition.OPERATOR_ISNOTNULL
-
CustomWrapperCondition.OPERATOR_LIKE
-
CustomWrapperCondition.OPERATOR_REGEXPLIKE
-
CustomWrapperCondition.OPERATOR_ISCONTAINED
(deprecated) -
CustomWrapperCondition.OPERATOR_ISSIMILARTO
-
CustomWrapperCondition.OPERATOR_ISTRUE
-
CustomWrapperCondition.OPERATOR_ISFALSE
-
-
getType
protected int getType()- Specified by:
getType
in classCustomWrapperCondition
- Returns:
CustomWrapperCondition.SIMPLE
-
toString
-