Class: Google::Apis::BiglakeV1::HiveTableOptions

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

Overview

Options of a Hive table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HiveTableOptions

Returns a new instance of HiveTableOptions.



174
175
176
# File 'lib/google/apis/biglake_v1/classes.rb', line 174

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

Instance Attribute Details

#parametersHash<String,String>

Stores user supplied Hive table parameters. Corresponds to the JSON property parameters

Returns:

  • (Hash<String,String>)


162
163
164
# File 'lib/google/apis/biglake_v1/classes.rb', line 162

def parameters
  @parameters
end

#storage_descriptorGoogle::Apis::BiglakeV1::StorageDescriptor

Stores physical storage information of the data. Corresponds to the JSON property storageDescriptor



167
168
169
# File 'lib/google/apis/biglake_v1/classes.rb', line 167

def storage_descriptor
  @storage_descriptor
end

#table_typeString

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE. Corresponds to the JSON property tableType

Returns:

  • (String)


172
173
174
# File 'lib/google/apis/biglake_v1/classes.rb', line 172

def table_type
  @table_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



179
180
181
182
183
# File 'lib/google/apis/biglake_v1/classes.rb', line 179

def update!(**args)
  @parameters = args[:parameters] if args.key?(:parameters)
  @storage_descriptor = args[:storage_descriptor] if args.key?(:storage_descriptor)
  @table_type = args[:table_type] if args.key?(:table_type)
end