Cloud Bigtable V2 Client - Class BigEndianBytes (2.1.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class BigEndianBytes.

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

Generated from protobuf message google.bigtable.v2.Type.Int64.Encoding.BigEndianBytes

Namespace

Google \ Cloud \ Bigtable \ V2 \ Type \ Int64 \ Encoding

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bytes_type Google\Cloud\Bigtable\V2\Type\Bytes

Deprecated: ignored if set.

getBytesType

Deprecated: ignored if set.

Returns
Type Description
Google\Cloud\Bigtable\V2\Type\Bytes|null

hasBytesType

clearBytesType

setBytesType

Deprecated: ignored if set.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\Type\Bytes
Returns
Type Description
$this