models.hive_connect_params module

class models.hive_connect_params.HiveConnectParams(hdfs_entity_id=None, kerberos_principal=None, metastore=None, thrift_port=None)[source]

Bases: object

Implementation of the ‘HiveConnectParams’ model.

Specifies an Object containing information about a registered Hive source.

Attributes:
hdfs_entity_id (int|long): Specifies the entity id of the HDFS source

for this Hive

kerberos_principal (string): Specifies the kerberos principal. metastore (string): Specifies the Hive metastore host. thrift_port (int): Specifies the Hive metastore thrift Port

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.