gravitino.dto.rel.partitions.partition_dto.PartitionDTO¶
- class gravitino.dto.rel.partitions.partition_dto.PartitionDTO¶
Bases:
PartitionRepresents a Partition Data Transfer Object (DTO) that implements the Partition interface.
- __init__()¶
Methods
- class Type(value)¶
Bases:
str,EnumType of the partition.
- IDENTITY = 'identity'¶
The identity partition type.
- LIST = 'list'¶
The list partition type.
- RANGE = 'range'¶
The range partition type.
- abstract name() str¶
- Returns:
str: The name of the partition.
- abstract properties() Dict[str, str]¶
- Returns:
Dict[str, str]: The properties of the partition, such as statistics, location, etc.