public final class TruncatePartitioningDTO extends java.lang.Object implements Partitioning
Partitioning.SingleFieldPartitioning, Partitioning.Strategy
Transform.SingleFieldTransform
EMPTY_PARTITIONING
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
Modifier and Type | Method and Description |
---|---|
Expression[] |
arguments() |
java.lang.String[] |
fieldName() |
java.lang.String |
name() |
static TruncatePartitioningDTO |
of(int width,
java.lang.String[] fieldName) |
Partitioning.Strategy |
strategy() |
void |
validate(ColumnDTO[] columns) |
int |
width() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assignments, children
references
public static TruncatePartitioningDTO of(int width, java.lang.String[] fieldName)
public int width()
public java.lang.String[] fieldName()
public java.lang.String name()
public Expression[] arguments()
public Partitioning.Strategy strategy()
strategy
in interface Partitioning
public void validate(ColumnDTO[] columns) throws java.lang.IllegalArgumentException
validate
in interface Partitioning
java.lang.IllegalArgumentException