Interface FunctionArg
- All Superinterfaces:
Expression
- All Known Implementing Classes:
FieldReferenceDTO
,FuncExpressionDTO
,LiteralDTO
,UnparsedExpressionDTO
An argument of a function.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionArg[]
Constant for an empty array of function arguments.Fields inherited from interface org.apache.gravitino.rel.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Method Summary
Modifier and TypeMethodDescriptionargType()
Arguments type of the function.default void
Validates the function argument.Methods inherited from interface org.apache.gravitino.rel.expressions.Expression
children, references
-
Field Details
-
EMPTY_ARGS
Constant for an empty array of function arguments.
-
-
Method Details
-
argType
FunctionArg.ArgType argType()Arguments type of the function.- Returns:
- The type of the argument.
-
validate
Validates the function argument.- Parameters:
columns
- The columns of the table.- Throws:
IllegalArgumentException
- If the function argument is invalid.
-