Interface BigtableConfig.ColumnFamilyMapping.DelimitedKeyOrBuilder (1.161.0)

public static interface BigtableConfig.ColumnFamilyMapping.DelimitedKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDelimiter()

public abstract ByteString getDelimiter()

Optional. Byte sequence used to delimit concatenated fields. Must be specified if multiple key fields are used. The delimiter must contain at least 1 character and at most 50 characters.

bytes delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The delimiter.

getKeyFields(int index)

public abstract String getKeyFields(int index)

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The keyFields at the given index.

getKeyFieldsBytes(int index)

public abstract ByteString getKeyFieldsBytes(int index)

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the keyFields at the given index.

getKeyFieldsCount()

public abstract int getKeyFieldsCount()

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of keyFields.

getKeyFieldsList()

public abstract List<String> getKeyFieldsList()

Required. The key fields to construct from the row key. The fields must be present in the message as a top-level field, i.e. JSON path expressions will not traverse into nested objects.

repeated string key_fields = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the keyFields.