Class: Google::Apis::BigqueryV2::ArrowSchema

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

Arrow schema as specified in https://arrow.apache.org/docs/python/api/ datatypes.html and serialized to bytes using IPC: https://arrow.apache.org/ docs/format/Columnar.html#serialization-and-interprocess-communication-ipc See code samples on how this message can be deserialized. This feature is not yet available.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ArrowSchema

Returns a new instance of ArrowSchema.



545
546
547
# File 'lib/google/apis/bigquery_v2/classes.rb', line 545

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

Instance Attribute Details

#serialized_schemaString

IPC serialized Arrow schema. Corresponds to the JSON property serializedSchema NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


543
544
545
# File 'lib/google/apis/bigquery_v2/classes.rb', line 543

def serialized_schema
  @serialized_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



550
551
552
# File 'lib/google/apis/bigquery_v2/classes.rb', line 550

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