Class: Google::Apis::MetastoreV1::HiveMetastoreConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::HiveMetastoreConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/representations.rb
Overview
Specifies configuration information specific to running Hive metastore software as the metastore service.
Instance Attribute Summary collapse
-
#config_overrides ⇒ Hash<String,String>
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml).
-
#kerberos_config ⇒ Google::Apis::MetastoreV1::KerberosConfig
Configuration information for a Kerberos principal.
-
#version ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HiveMetastoreConfig
constructor
A new instance of HiveMetastoreConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HiveMetastoreConfig
Returns a new instance of HiveMetastoreConfig.
575 576 577 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config_overrides ⇒ Hash<String,String>
A mapping of Hive metastore configuration key-value pairs to apply to the Hive
metastore (configured in hive-site.xml). The mappings override system defaults
(some keys cannot be overridden). These overrides are also applied to
auxiliary versions and can be further customized in the auxiliary version's
AuxiliaryVersionConfig.
Corresponds to the JSON property configOverrides
563 564 565 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 563 def config_overrides @config_overrides end |
#kerberos_config ⇒ Google::Apis::MetastoreV1::KerberosConfig
Configuration information for a Kerberos principal.
Corresponds to the JSON property kerberosConfig
568 569 570 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 568 def kerberos_config @kerberos_config end |
#version ⇒ String
Immutable. The Hive metastore schema version.
Corresponds to the JSON property version
573 574 575 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 573 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
580 581 582 583 584 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 580 def update!(**args) @config_overrides = args[:config_overrides] if args.key?(:config_overrides) @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config) @version = args[:version] if args.key?(:version) end |