Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding

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

Rules used to convert to or from lower level types.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleBigtableAdminV2TypeInt64Encoding

Returns a new instance of GoogleBigtableAdminV2TypeInt64Encoding.



1925
1926
1927
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1925

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

Instance Attribute Details

#big_endian_bytesGoogle::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes

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 Corresponds to the JSON property bigEndianBytes



1923
1924
1925
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1923

def big_endian_bytes
  @big_endian_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1930
1931
1932
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1930

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