public class FlatRowAdapter.FlatRowBuilder extends Object implements com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder<FlatRow>
Constructor and Description |
---|
FlatRowBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
cellValue(com.google.protobuf.ByteString value) |
FlatRow |
createScanMarkerRow(com.google.protobuf.ByteString rowKey) |
void |
finishCell()
Adds a Cell to
FlatRow.Cell 's map which is ordered by family. |
FlatRow |
finishRow()
This method flattens the
cells which has a map of Lists keyed by family name. |
void |
reset() |
void |
startCell(String family,
com.google.protobuf.ByteString qualifier,
long timestamp,
List<String> labels,
long size) |
void |
startRow(com.google.protobuf.ByteString rowKey) |
public void startRow(com.google.protobuf.ByteString rowKey)
startRow
in interface com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder<FlatRow>
public void startCell(String family, com.google.protobuf.ByteString qualifier, long timestamp, List<String> labels, long size)
startCell
in interface com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder<FlatRow>
public void cellValue(com.google.protobuf.ByteString value)
cellValue
in interface com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder<FlatRow>
public void finishCell()
FlatRow.Cell
's map which is ordered by family. cells received from RowBuilder
has ordering as:
FlatRow.Cell
are ordered as:
FlatRow.Cell
map will be sorted correctly.finishCell
in interface com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder<FlatRow>
public FlatRow finishRow()
public void reset()
reset
in interface com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder<FlatRow>