Class: Google::Apis::BigqueryV2::ArrowSerializationOptions

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

Overview

Contains options specific to Arrow Serialization. This feature is not yet available.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ArrowSerializationOptions

Returns a new instance of ArrowSerializationOptions.



577
578
579
# File 'lib/google/apis/bigquery_v2/classes.rb', line 577

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

Instance Attribute Details

#buffer_compressionString

The compression codec to use for Arrow buffers in serialized record batches. Corresponds to the JSON property bufferCompression

Returns:

  • (String)


569
570
571
# File 'lib/google/apis/bigquery_v2/classes.rb', line 569

def buffer_compression
  @buffer_compression
end

#picos_timestamp_precisionString

Optional. Set timestamp precision option. If not set, the default precision is microseconds. Corresponds to the JSON property picosTimestampPrecision

Returns:

  • (String)


575
576
577
# File 'lib/google/apis/bigquery_v2/classes.rb', line 575

def picos_timestamp_precision
  @picos_timestamp_precision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



582
583
584
585
# File 'lib/google/apis/bigquery_v2/classes.rb', line 582

def update!(**args)
  @buffer_compression = args[:buffer_compression] if args.key?(:buffer_compression)
  @picos_timestamp_precision = args[:picos_timestamp_precision] if args.key?(:picos_timestamp_precision)
end