Class Partitioning.SingleFieldPartitioning
java.lang.Object
org.apache.gravitino.dto.rel.partitioning.Partitioning.SingleFieldPartitioning
- All Implemented Interfaces:
Partitioning
,Expression
,Transform
- Direct Known Subclasses:
DayPartitioningDTO
,HourPartitioningDTO
,IdentityPartitioningDTO
,MonthPartitioningDTO
,YearPartitioningDTO
- Enclosing interface:
- Partitioning
public abstract static class Partitioning.SingleFieldPartitioning
extends Object
implements Partitioning
A single field partitioning strategy.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.rel.partitioning.Partitioning
Partitioning.SingleFieldPartitioning, Partitioning.Strategy
Nested 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_REFERENCE
Fields inherited from interface org.apache.gravitino.dto.rel.partitioning.Partitioning
EMPTY_PARTITIONING
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.gravitino.rel.expressions.Expression
references
Methods inherited from interface org.apache.gravitino.dto.rel.partitioning.Partitioning
strategy
Methods inherited from interface org.apache.gravitino.rel.expressions.transforms.Transform
assignments, children
-
Constructor Details
-
SingleFieldPartitioning
public SingleFieldPartitioning()
-
-
Method Details
-
fieldName
- Returns:
- The field name of the partitioning.
-
validate
Validates the partitioning columns.- Specified by:
validate
in interfacePartitioning
- Parameters:
columns
- The columns to be validated.- Throws:
IllegalArgumentException
- If the columns are invalid, this exception is thrown.
-
name
-
arguments
-