gravitino.dto.rel.partitions.json_serdes.partition_dto_serdes.PartitionDTOSerdes¶
- class gravitino.dto.rel.partitions.json_serdes.partition_dto_serdes.PartitionDTOSerdes¶
Bases:
JsonSerializable
[PartitionDTO
]- __init__()¶
Methods
__init__
()deserialize
(data)To deserialize the given data.
serialize
(data_type)To serialize the given data.
- classmethod deserialize(data: Dict[str, Any]) PartitionDTO ¶
To deserialize the given data.
- Args:
data (Json): The data to be deserialized.
- Returns:
_GravitinoTypeT: The deserialized data.
- classmethod serialize(data_type: PartitionDTO) Dict[str, Any] ¶
To serialize the given data.
- Args:
data (_GravitinoTypeT): The data to be serialized.
- Returns:
Json: The serialized data.