public final class CustomWrapperFunctionExpression extends CustomWrapperExpression
Modifier and Type | Field and Description |
---|---|
static int |
MODIFIER_ALL
Constant indicating that the function has the modifier ALL.
|
static int |
MODIFIER_DISTINCT
Constant indicating that the function has the modifier DISTINCT.
|
static int |
MODIFIER_NONE
Constant indicating that the function has no modifiers.
|
ARRAY_TYPE, CONDITION_TYPE, CONTAINS_TYPE, FIELD_TYPE, FUNCTION_TYPE, REGISTER_TYPE, SIMPLE_TYPE
Constructor and Description |
---|
CustomWrapperFunctionExpression(String name,
List<CustomWrapperFunctionParameter> parameters,
int modifier,
boolean isAggregateFunction)
Creates a
CustomWrapperFunctionExpression specifying its name,
parameters, modifier and whether it is an aggregate function. |
Modifier and Type | Method and Description |
---|---|
protected int |
getExpressionType() |
int |
getModifier() |
String |
getName() |
List<CustomWrapperFunctionParameter> |
getParameters() |
boolean |
isAggregateFunction() |
String |
toString() |
equals, hashCode, isArrayExpression, isConditionExpression, isContainsExpression, isFieldExpression, isFunctionExpression, isRegisterExpression, isSimpleExpression
public static final int MODIFIER_NONE
public static final int MODIFIER_ALL
public static final int MODIFIER_DISTINCT
public CustomWrapperFunctionExpression(String name, List<CustomWrapperFunctionParameter> parameters, int modifier, boolean isAggregateFunction)
CustomWrapperFunctionExpression
specifying its name,
parameters, modifier and whether it is an aggregate function.Users do not need to instantiate this class.
name
- this function's name.parameters
- a list of this function's parameters.modifier
- one of MODIFIER_NONE
,
MODIFIER_ALL
,
MODIFIER_DISTINCT
.isAggregateFunction
- true
if this is an aggregate-type function,
false
otherwise.public String getName()
public List<CustomWrapperFunctionParameter> getParameters()
CustomWrapperFunctionParameter
public int getModifier()
public boolean isAggregateFunction()
public String toString()
toString
in class CustomWrapperExpression
protected int getExpressionType()
getExpressionType
in class CustomWrapperExpression
Copyright © 2023 Denodo Technologies. All rights reserved.