public class DefaultRowAdapter extends Object implements RowAdapter<Row>
RowAdapter
that uses Row
s to represent logical rows.Modifier and Type | Class and Description |
---|---|
class |
DefaultRowAdapter.DefaultRowBuilder |
RowAdapter.RowBuilder<RowT>
Constructor and Description |
---|
DefaultRowAdapter() |
Modifier and Type | Method and Description |
---|---|
RowAdapter.RowBuilder<Row> |
createRowBuilder()
Creates a new instance of a
RowAdapter.RowBuilder . |
Row |
createRowFromProto(com.google.bigtable.v2.Row row)
Helper to convert a proto Row to a model Row.
|
ByteString |
getKey(Row row) |
boolean |
isScanMarkerRow(Row row)
Checks if the given row is a special marker row.
|
public boolean isScanMarkerRow(Row row)
RowAdapter.RowBuilder
for more informationisScanMarkerRow
in interface RowAdapter<Row>
public RowAdapter.RowBuilder<Row> createRowBuilder()
RowAdapter.RowBuilder
.createRowBuilder
in interface RowAdapter<Row>
public ByteString getKey(Row row)
getKey
in interface RowAdapter<Row>
@InternalApi public Row createRowFromProto(com.google.bigtable.v2.Row row)
For internal use only.
Copyright © 2019 Google LLC. All rights reserved.