public final class ListPartitioningDTO extends java.lang.Object implements Partitioning
Partitioning.SingleFieldPartitioning, Partitioning.StrategyTransform.SingleFieldTransformEMPTY_PARTITIONINGEMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE| Modifier and Type | Method and Description | 
|---|---|
| Expression[] | arguments() | 
| ListPartitionDTO[] | assignments() | 
| java.lang.String[][] | fieldNames() | 
| java.lang.String | name() | 
| static ListPartitioningDTO | of(java.lang.String[][] fieldNames)Creates a new ListPartitioningDTO with no pre-assigned partitions. | 
| static ListPartitioningDTO | of(java.lang.String[][] fieldNames,
  ListPartitionDTO[] assignments)Creates a new ListPartitioningDTO. | 
| Partitioning.Strategy | strategy()Returns the name of the partitioning strategy. | 
| void | validate(ColumnDTO[] columns)Validates the partitioning columns. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreferencespublic static ListPartitioningDTO of(java.lang.String[][] fieldNames)
fieldNames - The names of the fields to partition.public static ListPartitioningDTO of(java.lang.String[][] fieldNames, ListPartitionDTO[] assignments)
fieldNames - The names of the fields to partition.assignments - The pre-assigned list partitions.public java.lang.String[][] fieldNames()
public ListPartitionDTO[] assignments()
assignments in interface TransformTransforms.ListTransform and Transforms.RangeTransform need to deal with
     assignmentspublic Partitioning.Strategy strategy()
Partitioningstrategy 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 columns are invalid, this exception is thrown.public java.lang.String name()
public Expression[] arguments()