Class CustomWrapperFunctionExpression
java.lang.Object
com.denodo.vdb.engine.customwrapper.expression.CustomWrapperExpression
com.denodo.vdb.engine.customwrapper.expression.CustomWrapperFunctionExpression
Represents a function in Custom Wrapper conditions.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant indicating that the function has the modifier ALL.static final intConstant indicating that the function has the modifier DISTINCT.static final intConstant indicating that the function has no modifiers.Fields inherited from class CustomWrapperExpression
ARRAY_TYPE, CONDITION_TYPE, CONTAINS_TYPE, FIELD_TYPE, FUNCTION_TYPE, REGISTER_TYPE, SIMPLE_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionCustomWrapperFunctionExpression(String name, List<CustomWrapperFunctionParameter> parameters, int modifier, boolean isAggregateFunction) Creates aCustomWrapperFunctionExpressionspecifying its name, parameters, modifier and whether it is an aggregate function. -
Method Summary
Methods inherited from class CustomWrapperExpression
equals, hashCode, isArrayExpression, isConditionExpression, isContainsExpression, isFieldExpression, isFunctionExpression, isRegisterExpression, isSimpleExpression
-
Field Details
-
MODIFIER_NONE
public static final int MODIFIER_NONEConstant indicating that the function has no modifiers.- See Also:
-
MODIFIER_ALL
public static final int MODIFIER_ALLConstant indicating that the function has the modifier ALL.- See Also:
-
MODIFIER_DISTINCT
public static final int MODIFIER_DISTINCTConstant indicating that the function has the modifier DISTINCT.- See Also:
-
-
Constructor Details
-
CustomWrapperFunctionExpression
public CustomWrapperFunctionExpression(String name, List<CustomWrapperFunctionParameter> parameters, int modifier, boolean isAggregateFunction) Creates aCustomWrapperFunctionExpressionspecifying its name, parameters, modifier and whether it is an aggregate function.Users do not need to instantiate this class.
- Parameters:
name- this function's name.parameters- a list of this function's parameters.modifier- one ofMODIFIER_NONE,MODIFIER_ALL,MODIFIER_DISTINCT.isAggregateFunction-trueif this is an aggregate-type function,falseotherwise.
-
-
Method Details
-
getName
- Returns:
- this function's name
-
getParameters
- Returns:
- a list with this function's parameters
- See Also:
-
getModifier
public int getModifier() -
isAggregateFunction
public boolean isAggregateFunction() -
toString
- Specified by:
toStringin classCustomWrapperExpression
-
getExpressionType
protected int getExpressionType()- Specified by:
getExpressionTypein classCustomWrapperExpression
-