Cloud Bigtable V2 Client - Class BigEndianBytes (2.8.0)

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

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

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

Deprecated: ignored if set.

getBytesType

Deprecated: ignored if set.

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

hasBytesType

clearBytesType

setBytesType

Deprecated: ignored if set.

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