Class: Google::Apis::BigqueryV2::ParquetOptions
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ParquetOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#enable_list_inference ⇒ Boolean
(also: #enable_list_inference?)
[Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
-
#enum_as_string ⇒ Boolean
(also: #enum_as_string?)
[Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParquetOptions
constructor
A new instance of ParquetOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParquetOptions
Returns a new instance of ParquetOptions.
4598 4599 4600 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4598 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_list_inference ⇒ Boolean Also known as: enable_list_inference?
[Optional] Indicates whether to use schema inference specifically for Parquet
LIST logical type.
Corresponds to the JSON property enableListInference
4588 4589 4590 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4588 def enable_list_inference @enable_list_inference end |
#enum_as_string ⇒ Boolean Also known as: enum_as_string?
[Optional] Indicates whether to infer Parquet ENUM logical type as STRING
instead of BYTES by default.
Corresponds to the JSON property enumAsString
4595 4596 4597 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4595 def enum_as_string @enum_as_string end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4603 4604 4605 4606 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4603 def update!(**args) @enable_list_inference = args[:enable_list_inference] if args.key?(:enable_list_inference) @enum_as_string = args[:enum_as_string] if args.key?(:enum_as_string) end |