class Google::Apis::BigqueryV2::BigtableColumnFamily

Attributes

columns[RW]
Optional

Lists of columns that should be exposed as individual fields as

opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field. Corresponds to the JSON property `columns` @return [Array<Google::Apis::BigqueryV2::BigtableColumn>]

encoding[RW]
Optional

The encoding of the values when the type is not STRING. Acceptable

encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it. Corresponds to the JSON property `encoding` @return [String]

family_id[RW]

Identifier of the column family. Corresponds to the JSON property `familyId` @return [String]

only_read_latest[RW]
Optional

If this is set only the latest version of value are exposed for all

columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column. Corresponds to the JSON property `onlyReadLatest` @return [Boolean]

only_read_latest?[RW]
Optional

If this is set only the latest version of value are exposed for all

columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column. Corresponds to the JSON property `onlyReadLatest` @return [Boolean]

type[RW]
Optional

The type to convert the value in cells of this column family. The

values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case- sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 760
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigquery_v2/classes.rb, line 765
def update!(**args)
  @columns = args[:columns] if args.key?(:columns)
  @encoding = args[:encoding] if args.key?(:encoding)
  @family_id = args[:family_id] if args.key?(:family_id)
  @only_read_latest = args[:only_read_latest] if args.key?(:only_read_latest)
  @type = args[:type] if args.key?(:type)
end