Class HourPartitioningDTO
java.lang.Object
org.apache.gravitino.dto.rel.partitioning.Partitioning.SingleFieldPartitioning
org.apache.gravitino.dto.rel.partitioning.HourPartitioningDTO
- All Implemented Interfaces:
Partitioning,Expression,Transform
Represents the hour partitioning.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.rel.partitioning.Partitioning
Partitioning.SingleFieldPartitioning, Partitioning.StrategyNested 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_REFERENCEFields inherited from interface org.apache.gravitino.dto.rel.partitioning.Partitioning
EMPTY_PARTITIONING -
Method Summary
Modifier and TypeMethodDescriptionstatic HourPartitioningDTOCreates a new HourPartitioningDTO.strategy()Returns the name of the partitioning strategy.Methods inherited from class org.apache.gravitino.dto.rel.partitioning.Partitioning.SingleFieldPartitioning
arguments, fieldName, name, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.gravitino.rel.expressions.Expression
referencesMethods inherited from interface org.apache.gravitino.rel.expressions.transforms.Transform
assignments, children
-
Method Details
-
of
Creates a new HourPartitioningDTO.- Parameters:
fieldName- The name of the field to partition.- Returns:
- The new HourPartitioningDTO.
-
strategy
Description copied from interface:PartitioningReturns the name of the partitioning strategy.- Returns:
- The strategy of the partitioning.
-