Class DefaultRowAdapter
- java.lang.Object
-
- com.google.cloud.bigtable.data.v2.models.DefaultRowAdapter
-
- All Implemented Interfaces:
RowAdapter<Row>
public class DefaultRowAdapter extends Object implements RowAdapter<Row>
Default implementation of aRowAdapterthat usesRows to represent logical rows.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDefaultRowAdapter.DefaultRowBuilderInternal implementation detail forDefaultRowAdapter.-
Nested classes/interfaces inherited from interface com.google.cloud.bigtable.data.v2.models.RowAdapter
RowAdapter.RowBuilder<RowT>
-
-
Constructor Summary
Constructors Constructor Description DefaultRowAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RowAdapter.RowBuilder<Row>createRowBuilder()Creates a new instance of aRowAdapter.RowBuilder.RowcreateRowFromProto(Row row)Helper to convert a proto Row to a model Row.com.google.protobuf.ByteStringgetKey(Row row)booleanisScanMarkerRow(Row row)Checks if the given row is a special marker row.
-
-
-
Method Detail
-
isScanMarkerRow
public boolean isScanMarkerRow(Row row)
Checks if the given row is a special marker row. Please the documentation forRowAdapter.RowBuilderfor more information- Specified by:
isScanMarkerRowin interfaceRowAdapter<Row>
-
createRowBuilder
public RowAdapter.RowBuilder<Row> createRowBuilder()
Creates a new instance of aRowAdapter.RowBuilder.- Specified by:
createRowBuilderin interfaceRowAdapter<Row>
-
getKey
public com.google.protobuf.ByteString getKey(Row row)
- Specified by:
getKeyin interfaceRowAdapter<Row>
-
-