Reference documentation and code samples for the Cloud Bigtable V2 Client class DelimitedBytes.
Fields are encoded independently and concatenated with a configurable
delimiter in between.
A struct with no fields defined is encoded as a single delimiter.
Sorted mode:
- Fields are encoded in sorted mode.
- Encoded field values must not contain any bytes <=
delimiter[0] - Element-wise order is preserved:
A < BifA[0] < B[0], or ifA[0] == B[0] && A[1] < B[1], etc. Strict prefixes sort first. Distinct mode: - Fields are encoded in distinct mode.
- Encoded field values must not contain
delimiter[0].
Generated from protobuf message google.bigtable.v2.Type.Struct.Encoding.DelimitedBytes
Namespace
Google \ Cloud \ Bigtable \ V2 \ Type \ Struct \ EncodingMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ delimiter |
string
Byte sequence used to delimit concatenated fields. The delimiter must contain at least 1 character and at most 50 characters. |
getDelimiter
Byte sequence used to delimit concatenated fields. The delimiter must contain at least 1 character and at most 50 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDelimiter
Byte sequence used to delimit concatenated fields. The delimiter must contain at least 1 character and at most 50 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|