gravitino.client.metadata_object_impl.MetadataObjectImpl

class gravitino.client.metadata_object_impl.MetadataObjectImpl(names: List[str], metadata_object_type: Type)

Bases: MetadataObject

__init__(names: List[str], metadata_object_type: Type)

Methods

__init__(names, metadata_object_type)

name()

The name of the object.

type()

The type of the object.

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

name() str

The name of the object.

Returns:

The name of the object.

type() Type

The type of the object.

Returns:

The type of the object.