public class DefaultRowAdapter.DefaultRowBuilder extends Object implements RowAdapter.RowBuilder<Row>
| Constructor and Description |
|---|
DefaultRowBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
cellValue(ByteString value)
Called multiple times per cell to concatenate the cell value.
|
Row |
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).
|
Row |
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.
|
public Row createScanMarkerRow(ByteString key)
createScanMarkerRow in interface RowAdapter.RowBuilder<Row>public void startRow(ByteString key)
startRow in interface RowAdapter.RowBuilder<Row>public void startCell(String family, ByteString qualifier, long timestamp, List<String> labels, long size)
startCell in interface RowAdapter.RowBuilder<Row>public void cellValue(ByteString value)
cellValue in interface RowAdapter.RowBuilder<Row>public void finishCell()
finishCell in interface RowAdapter.RowBuilder<Row>public Row finishRow()
finishRow in interface RowAdapter.RowBuilder<Row>public void reset()
reset in interface RowAdapter.RowBuilder<Row>Copyright © 2019 Google LLC. All rights reserved.