public static interface RowAdapter.RowBuilder<RowT>
State management is handled external to the implementation of this class and guarantees the following order:
startRow
for each row.
startCell
for each cell.
cellValue
for each cell.
finishCell
for each cell.
finishRow
for each row.
createScanMarkerRow
can be called one or more times between finishRow
and
startRow
. reset
can be called at any point and can be invoked multiple times in
a row.Modifier and Type | Method and Description |
---|---|
void |
cellValue(ByteString value)
Called multiple times per cell to concatenate the cell value.
|
RowT |
createScanMarkerRow(ByteString key)
Creates a special row to mark server progress before any data is received
|
void |
finishCell()
Called once per cell to signal the end of the value (unless reset).
|
RowT |
finishRow()
Called once per row to signal that all cells have been processed (unless reset).
|
void |
reset()
Called when the current in progress row should be dropped
|
void |
startCell(String family,
ByteString qualifier,
long timestamp,
List<String> labels,
long size)
Called to start a new cell in a row.
|
void |
startRow(ByteString key)
Called to start a new row.
|
void startRow(ByteString key)
void startCell(String family, ByteString qualifier, long timestamp, List<String> labels, long size)
void cellValue(ByteString value)
void finishCell()
RowT finishRow()
void reset()
RowT createScanMarkerRow(ByteString key)
Copyright © 2019 Google LLC. All rights reserved.