Class DefaultRowAdapter (2.51.0)

public class DefaultRowAdapter implements RowAdapter<Row>

Default implementation of a RowAdapter that uses Rows to represent logical rows.

Inheritance

java.lang.Object > DefaultRowAdapter

Implements

com.google.cloud.bigtable.data.v2.models.RowAdapter<com.google.cloud.bigtable.data.v2.models.Row>

Constructors

DefaultRowAdapter()

public DefaultRowAdapter()

Methods

createRowBuilder()

public RowAdapter.RowBuilder<Row> createRowBuilder()

Creates a new instance of a RowBuilder.

Returns
Type Description
RowBuilder<Row>

createRowFromProto(Row row)

public Row createRowFromProto(Row row)

Helper to convert a proto Row to a model Row.

For internal use only.

Parameter
Name Description
row com.google.bigtable.v2.Row
Returns
Type Description
Row

getKey(Row row)

public ByteString getKey(Row row)
Parameter
Name Description
row Row
Returns
Type Description
ByteString

isScanMarkerRow(Row row)

public boolean isScanMarkerRow(Row row)
Parameter
Name Description
row Row
Returns
Type Description
boolean