Class DefaultRowAdapter (2.33.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
TypeDescription
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
NameDescription
rowcom.google.bigtable.v2.Row
Returns
TypeDescription
Row

getKey(Row row)

public ByteString getKey(Row row)
Parameter
NameDescription
rowRow
Returns
TypeDescription
ByteString

isScanMarkerRow(Row row)

public boolean isScanMarkerRow(Row row)
Parameter
NameDescription
rowRow
Returns
TypeDescription
boolean