tiled.adapters.parquet.ParquetDatasetAdapter¶
- class tiled.adapters.parquet.ParquetDatasetAdapter(data_uris: List[str], structure: TableStructure, metadata: Dict[str, str | int | float | bool | Dict[str, Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]] | List[Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]]] | None = None, specs: List[Spec] | None = None, access_policy: AccessPolicy | None = None)[source]¶
- __init__(data_uris: List[str], structure: TableStructure, metadata: Dict[str, str | int | float | bool | Dict[str, Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]] | List[Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]]] | None = None, specs: List[Spec] | None = None, access_policy: AccessPolicy | None = None) None [source]¶
- Parameters:
- data_uris
- structure
- metadata
- specs
- access_policy
Methods
__init__
(data_uris, structure[, metadata, ...])- Parameters:
init_storage
(data_uri, structure)- Parameters:
metadata
()- Returns:
read
(*args, **kwargs)- Parameters:
read_partition
(*args, **kwargs)- Parameters:
structure
()- Returns:
write
(data)- Parameters:
write_partition
(data, partition)- Parameters:
Attributes
dataframe_adapter
- Returns:
structure_family