public final class ListPartitioningDTO extends java.lang.Object implements Partitioning
Modifier and Type | Class and Description |
---|---|
static class |
ListPartitioningDTO.Builder
The builder for ListPartitioningDTO.
|
Partitioning.SingleFieldPartitioning, Partitioning.Strategy
Transform.SingleFieldTransform
EMPTY_PARTITIONING
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
Modifier and Type | Method and Description |
---|---|
Expression[] |
arguments() |
java.lang.String[][] |
fieldNames() |
java.lang.String |
name() |
static ListPartitioningDTO |
of(java.lang.String[][] fieldNames)
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, wait
assignments, children
references
public static ListPartitioningDTO of(java.lang.String[][] fieldNames)
fieldNames
- The names of the fields to partition.public java.lang.String[][] fieldNames()
public Partitioning.Strategy strategy()
Partitioning
strategy
in interface Partitioning
public void validate(ColumnDTO[] columns) throws java.lang.IllegalArgumentException
validate
in interface Partitioning
columns
- 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()