Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ColumnMetadata (v1.9.0)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ColumnMetadata.

Metadata for a column.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#is_primary_key

def is_primary_key() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether the column is a primary key column.

#is_primary_key=

def is_primary_key=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether the column is a primary key column.
Returns
  • (::Boolean) — Indicates whether the column is a primary key column.

#name

def name() -> ::String
Returns
  • (::String) — Name of the column.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the column.
Returns
  • (::String) — Name of the column.

#ordinal_position

def ordinal_position() -> ::Integer
Returns
  • (::Integer) — Ordinal position of the column based on the original table definition in the schema starting with a value of 1.

#ordinal_position=

def ordinal_position=(value) -> ::Integer
Parameter
  • value (::Integer) — Ordinal position of the column based on the original table definition in the schema starting with a value of 1.
Returns
  • (::Integer) — Ordinal position of the column based on the original table definition in the schema starting with a value of 1.

#type

def type() -> ::Google::Cloud::Spanner::V1::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::Spanner::V1::Type
Parameter
Returns