Class: Google::Spanner::V1::Type

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/spanner/v1/doc/google/spanner/v1/type.rb

Overview

+Type+ indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.

Instance Attribute Summary collapse

Instance Attribute Details

#array_element_typeGoogle::Spanner::V1::Type

Returns If code == ARRAY, then +array_element_type+ is the type of the array elements.

Returns:



31
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/type.rb', line 31

class Type; end

#codeGoogle::Spanner::V1::TypeCode

Returns Required. The TypeCode for this type.

Returns:



31
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/type.rb', line 31

class Type; end

#struct_typeGoogle::Spanner::V1::StructType

Returns If code == STRUCT, then +struct_type+ provides type information for the struct's fields.

Returns:



31
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/type.rb', line 31

class Type; end