Class DefaultRowAdapter
java.lang.Object
com.google.cloud.bigtable.data.v2.models.DefaultRowAdapter
- All Implemented Interfaces:
RowAdapter<Row>
Default implementation of a
RowAdapter
that uses Row
s to represent logical rows.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.cloud.bigtable.data.v2.models.RowAdapter
RowAdapter.RowBuilder<RowT>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance of aRowAdapter.RowBuilder
.createRowFromProto
(Row row) Helper to convert a proto Row to a model Row.com.google.protobuf.ByteString
boolean
isScanMarkerRow
(Row row) Checks if the given row is a special marker row.
-
Constructor Details
-
DefaultRowAdapter
public DefaultRowAdapter()
-
-
Method Details
-
isScanMarkerRow
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
Creates a new instance of aRowAdapter.RowBuilder
.- Specified by:
createRowBuilder
in interfaceRowAdapter<Row>
-
getKey
- Specified by:
getKey
in interfaceRowAdapter<Row>
-
createRowFromProto
Helper to convert a proto Row to a model Row.For internal use only.
-