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 aRowAdapter
that usesRow
s to represent logical rows.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DefaultRowAdapter.DefaultRowBuilder
Internal 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
.Row
createRowFromProto(Row row)
Helper to convert a proto Row to a model Row.com.google.protobuf.ByteString
getKey(Row row)
boolean
isScanMarkerRow(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.RowBuilder
for more information- Specified by:
isScanMarkerRow
in interfaceRowAdapter<Row>
-
createRowBuilder
public RowAdapter.RowBuilder<Row> createRowBuilder()
Creates a new instance of aRowAdapter.RowBuilder
.- Specified by:
createRowBuilder
in interfaceRowAdapter<Row>
-
getKey
public com.google.protobuf.ByteString getKey(Row row)
- Specified by:
getKey
in interfaceRowAdapter<Row>
-
-