Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb

Overview

Encodes the value as an 8-byte big-endian two's complement value. Sorted mode: non-negative values are supported. Distinct mode: all values are supported. Compatible with: - BigQuery BINARY encoding - HBase Bytes.toBytes - Java ByteBuffer.putLong() with ByteOrder.BIG_ENDIAN

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes

Returns a new instance of GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes.



1947
1948
1949
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1947

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

Instance Attribute Details

#bytes_typeGoogle::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes

Bytes Values of type Bytes are stored in Value.bytes_value. Corresponds to the JSON property bytesType



1945
1946
1947
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1945

def bytes_type
  @bytes_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1952
1953
1954
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1952

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