models.no_sql_connect_params module

class models.no_sql_connect_params.NoSqlConnectParams(cassandra_additional_params=None, cassandra_connect_params=None, couchbase_connect_params=None, hbase_connect_params=None, hdfs_connect_params=None, hive_connect_params=None, mongodb_additional_params=None, mongodb_connect_params=None)[source]

Bases: object

Implementation of the ‘NoSqlConnectParams’ model.

Attributes:
cassandra_additional_params (CassandraAdditionalParams): Additional

params required for cassandra backup.

cassandra_connect_params (CassandraConnectParams): Connect params for

connecting to cassandra cluster. Set only if env_type is kCassandra.

couchbase_connect_params (CouchbaseConnectParams): Additional params

for connecting to couchbase cluster. Set only if env_type is kCouchbase.

hbase_connect_params (HBaseConnectParams): Additional params for

connecting to hbase cluster. Set only if env_type is kHBase.

hdfs_connect_params (HdfsConnectParams): Additional params for

connecting to hdfs cluster. Set only if env_type is kHdfs.

hive_connect_params (HiveConnectParams): Additional params for

connecting to hive cluster. Set only if env_type is kHive.

mongodb_additional_params (MongoDBAdditionalParams): Additional params

required for mongodb backup.

mongodb_connect_params (MongoDBConnectParams): Additional params for

connecting to mongodb cluster. Set only if env_type is kMongoDB.

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.