Class: Google::Apis::MetastoreV1beta::HiveMetastoreConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/metastore_v1beta/classes.rb,
generated/google/apis/metastore_v1beta/representations.rb,
generated/google/apis/metastore_v1beta/representations.rb

Overview

Specifies configuration information specific to running Hive metastore software as the metastore service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HiveMetastoreConfig

Returns a new instance of HiveMetastoreConfig.



326
327
328
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 326

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#config_overridesHash<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). Corresponds to the JSON property configOverrides

Returns:

  • (Hash<String,String>)


314
315
316
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 314

def config_overrides
  @config_overrides
end

#kerberos_configGoogle::Apis::MetastoreV1beta::KerberosConfig

Configuration information for a Kerberos principal. Corresponds to the JSON property kerberosConfig



319
320
321
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 319

def kerberos_config
  @kerberos_config
end

#versionString

Immutable. The Hive metastore schema version. Corresponds to the JSON property version

Returns:

  • (String)


324
325
326
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 324

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



331
332
333
334
335
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 331

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