gravitino.api.metadata_object.MetadataObject¶
- class gravitino.api.metadata_object.MetadataObject¶
Bases:
ABC
The MetadataObject is the basic unit of the Gravitino system. It represents the metadata object in the Apache Gravitino system. The object can be a metalake, catalog, schema, table, topic, etc.
- __init__()¶
Methods
- class Type(value)¶
Bases:
Enum
The type of object in the Gravitino system. Every type will map one kind of the entity of the underlying system.
- CATALOG = 'catalog'¶
“Metadata Type for catalog.
- FILESET = 'fileset'¶
Metadata Type for Fileset System (including HDFS, S3, etc.), like path/to/file
- abstract name() str ¶
The name of the object.
- Returns:
The name of the object.