Class FunctionPartitioningDTO
java.lang.Object
org.apache.gravitino.dto.rel.partitioning.FunctionPartitioningDTO
- All Implemented Interfaces:
Partitioning,Expression,Transform
Data transfer object for function partitioning.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.rel.partitioning.Partitioning
Partitioning.SingleFieldPartitioning, Partitioning.StrategyNested classes/interfaces inherited from interface org.apache.gravitino.rel.expressions.transforms.Transform
Transform.SingleFieldTransform -
Field Summary
Fields inherited from interface org.apache.gravitino.rel.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCEFields inherited from interface org.apache.gravitino.dto.rel.partitioning.Partitioning
EMPTY_PARTITIONING -
Method Summary
Modifier and TypeMethodDescriptionargs()Returns the arguments of the function.Returns the arguments of the function.Returns the name of the function.name()Returns the name of the function.static FunctionPartitioningDTOof(String functionName, FunctionArg... args) Creates a new function partitioning DTO.strategy()Returns the strategy of the partitioning.voidValidates the function partitioning.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.gravitino.rel.expressions.Expression
referencesMethods inherited from interface org.apache.gravitino.rel.expressions.transforms.Transform
assignments, children
-
Method Details
-
of
Creates a new function partitioning DTO.- Parameters:
functionName- The name of the function.args- The arguments of the function.- Returns:
- The function partitioning DTO.
-
functionName
Returns the name of the function.- Returns:
- The name of the function.
-
args
Returns the arguments of the function.- Returns:
- The arguments of the function.
-
name
Returns the name of the function. -
arguments
Returns the arguments of the function. -
strategy
Returns the strategy of the partitioning.- Specified by:
strategyin interfacePartitioning- Returns:
- The strategy of the partitioning.
-
validate
Validates the function partitioning.- Specified by:
validatein interfacePartitioning- Parameters:
columns- The columns to be validated.- Throws:
IllegalArgumentException- If the function partitioning is invalid.
-