Class: Google::Apis::BiglakeV1::HiveTableOptions
- Inherits:
-
Object
- Object
- Google::Apis::BiglakeV1::HiveTableOptions
- 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
-
#parameters ⇒ Hash<String,String>
Stores user supplied Hive table parameters.
-
#storage_descriptor ⇒ Google::Apis::BiglakeV1::StorageDescriptor
Stores physical storage information of the data.
-
#table_type ⇒ String
Hive table type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HiveTableOptions
constructor
A new instance of HiveTableOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#parameters ⇒ Hash<String,String>
Stores user supplied Hive table parameters.
Corresponds to the JSON property parameters
162 163 164 |
# File 'lib/google/apis/biglake_v1/classes.rb', line 162 def parameters @parameters end |
#storage_descriptor ⇒ Google::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_type ⇒ String
Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
Corresponds to the JSON property tableType
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 |