public final class FunctionPartitioningDTO extends java.lang.Object implements Partitioning
Partitioning.SingleFieldPartitioning, Partitioning.StrategyTransform.SingleFieldTransformEMPTY_PARTITIONINGEMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE| Modifier and Type | Method and Description | 
|---|---|
| FunctionArg[] | args()Returns the arguments of the function. | 
| Expression[] | arguments()Returns the arguments of the function. | 
| java.lang.String | functionName()Returns the name of the function. | 
| java.lang.String | name()Returns the name of the function. | 
| static FunctionPartitioningDTO | of(java.lang.String functionName,
  FunctionArg... args)Creates a new function partitioning DTO. | 
| Partitioning.Strategy | strategy()Returns the strategy of the partitioning. | 
| void | validate(ColumnDTO[] columns)Validates the function partitioning. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassignments, childrenreferencespublic static FunctionPartitioningDTO of(java.lang.String functionName, FunctionArg... args)
functionName - The name of the function.args - The arguments of the function.public java.lang.String functionName()
public FunctionArg[] args()
public java.lang.String name()
public Expression[] arguments()
public Partitioning.Strategy strategy()
strategy in interface Partitioningpublic void validate(ColumnDTO[] columns) throws java.lang.IllegalArgumentException
validate in interface Partitioningcolumns - The columns to be validated.java.lang.IllegalArgumentException - If the function partitioning is invalid.