Cloud Bigtable V2 Client - Class BigEndianBytes (1.31.1)

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.

  • Natural sort? 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.admin.v2.Type.Int64.Encoding.BigEndianBytes

Namespace

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

The underlying Bytes type, which may be able to encode further.

getBytesType

The underlying Bytes type, which may be able to encode further.

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

hasBytesType

clearBytesType

setBytesType

The underlying Bytes type, which may be able to encode further.

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