Class: Google::Apis::MetastoreV1alpha::HiveMetastoreConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/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.



497
498
499
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 497

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). 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

Returns:

  • (Hash<String,String>)


479
480
481
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 479

def config_overrides
  @config_overrides
end

#endpoint_protocolString

The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. Corresponds to the JSON property endpointProtocol

Returns:

  • (String)


485
486
487
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 485

def endpoint_protocol
  @endpoint_protocol
end

#kerberos_configGoogle::Apis::MetastoreV1alpha::KerberosConfig

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



490
491
492
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 490

def kerberos_config
  @kerberos_config
end

#versionString

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

Returns:

  • (String)


495
496
497
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 495

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



502
503
504
505
506
507
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 502

def update!(**args)
  @config_overrides = args[:config_overrides] if args.key?(:config_overrides)
  @endpoint_protocol = args[:endpoint_protocol] if args.key?(:endpoint_protocol)
  @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
  @version = args[:version] if args.key?(:version)
end