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 twos complement Bytes value. * Order-preserving? No (positive values only) * Self-delimiting? Yes * Compatibility? - BigQuery Federation 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.



1960
1961
1962
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1960

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



1958
1959
1960
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1958

def bytes_type
  @bytes_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1965
1966
1967
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1965

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