Class: Google::Apis::BigqueryV2::ParquetOptions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ParquetOptions

Returns a new instance of ParquetOptions.



4770
4771
4772
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4770

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

Instance Attribute Details

#enable_list_inferenceBoolean 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

Returns:

  • (Boolean)


4760
4761
4762
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4760

def enable_list_inference
  @enable_list_inference
end

#enum_as_stringBoolean 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

Returns:

  • (Boolean)


4767
4768
4769
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4767

def enum_as_string
  @enum_as_string
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4775
4776
4777
4778
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4775

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