models.hive_table module¶
-
class
models.hive_table.
HiveTable
(approx_size_bytes=None, created_on=None, is_transactional_table=None, owner=None, table_type=None)[source]¶ Bases:
object
Implementation of the ‘HiveTable’ model.
Specifies an Object containing information about a Hive table.
- Attributes:
- approx_size_bytes (int): Specifies the approx size of the table in
bytes.
created_on (int): Specifies the created on, epoch millis. is_transactional_table (bool): Specifies if this is a transactional table. owner (string): Specifies the owner of the table. table_type (TypeHiveTableEnum): Specifies the type of table ex.
MANAGED,VIRTUAL etc. Specifies the type of an Hive table. ‘kManaged’ indicates a MANAGED Hive table. ‘kExternal’ indicates a EXTERNAL Hive table. ‘kVirtual’ indicates a VIRTUAL Hive tablet. ‘kIndex’ indicates a INDEX Hive table.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.