gravitino.dto.rel.partitions.partition_dto.PartitionDTO¶
- class gravitino.dto.rel.partitions.partition_dto.PartitionDTO¶
Bases:
Partition
Represents a Partition Data Transfer Object (DTO) that implements the Partition interface.
- __init__()¶
Methods
- class Type(value)¶
Bases:
str
,Enum
Type 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.