Interface Partitioning
- All Superinterfaces:
Expression
,Transform
- All Known Implementing Classes:
BucketPartitioningDTO
,DayPartitioningDTO
,FunctionPartitioningDTO
,HourPartitioningDTO
,IdentityPartitioningDTO
,ListPartitioningDTO
,MonthPartitioningDTO
,Partitioning.SingleFieldPartitioning
,RangePartitioningDTO
,TruncatePartitioningDTO
,YearPartitioningDTO
A partitioning strategy is a way to divide a table into smaller, more manageable pieces. This
interface represents a partitioning strategy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A single field partitioning strategy.static enum
Represents a partitioning strategy.Nested classes/interfaces inherited from interface org.apache.gravitino.rel.expressions.transforms.Transform
Transform.SingleFieldTransform
-
Field Summary
FieldsFields inherited from interface org.apache.gravitino.rel.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Method Summary
Modifier and TypeMethodDescriptionstrategy()
Returns the name of the partitioning strategy.void
Validates the partitioning columns.Methods inherited from interface org.apache.gravitino.rel.expressions.Expression
references
Methods inherited from interface org.apache.gravitino.rel.expressions.transforms.Transform
arguments, assignments, children, name
-
Field Details
-
EMPTY_PARTITIONING
An empty array of partitioning.
-
-
Method Details
-
strategy
Partitioning.Strategy strategy()Returns the name of the partitioning strategy.- Returns:
- The name of the partitioning strategy.
-
validate
Validates the partitioning columns.- Parameters:
columns
- The columns to be validated.- Throws:
IllegalArgumentException
- If the columns are invalid, this exception is thrown.
-