Interface FunctionExpression
- All Superinterfaces:
Expression
- All Known Implementing Classes:
FuncExpressionDTO,FunctionExpression.FuncExpressionImpl
The interface of a function expression. A function expression is an expression that takes a
function name and a list of arguments.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.apache.gravitino.rel.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE -
Method Summary
Modifier and TypeMethodDescriptiondefault Expression[]children()Creates a newFunctionExpressionwith the given function name and no arguments.of(String functionName, Expression... arguments) Creates a newFunctionExpressionwith the given function name and arguments.Methods inherited from interface org.apache.gravitino.rel.expressions.Expression
references
-
Method Details
-
of
Creates a newFunctionExpressionwith the given function name and arguments.- Parameters:
functionName- The name of the functionarguments- The arguments to the function- Returns:
- The created
FunctionExpression
-
of
Creates a newFunctionExpressionwith the given function name and no arguments.- Parameters:
functionName- The name of the function- Returns:
- The created
FunctionExpression
-
functionName
String functionName()- Returns:
- The transform function name.
-
arguments
Expression[] arguments()- Returns:
- The arguments passed to the transform function.
-
children
- Specified by:
childrenin interfaceExpression- Returns:
- An array of the children of this node. Children should not change.
-