Class DefaultRowAdapter.DefaultRowBuilder (2.39.2)

public class DefaultRowAdapter.DefaultRowBuilder implements RowAdapter.RowBuilder<Row>

Internal implementation detail for DefaultRowAdapter.

Inheritance

java.lang.Object > DefaultRowAdapter.DefaultRowBuilder

Implements

com.google.cloud.bigtable.data.v2.models.RowAdapter.RowBuilder<com.google.cloud.bigtable.data.v2.models.Row>

Constructors

DefaultRowBuilder()

public DefaultRowBuilder()

Methods

cellValue(ByteString value)

public void cellValue(ByteString value)

Called multiple times per cell to concatenate the cell value.

Parameter
Name Description
value ByteString

createScanMarkerRow(ByteString key)

public Row createScanMarkerRow(ByteString key)

Creates a special row to mark server progress before any data is received

Parameter
Name Description
key ByteString
Returns
Type Description
Row

finishCell()

public void finishCell()

Called once per cell to signal the end of the value (unless reset).

finishRow()

public Row finishRow()

Called once per row to signal that all cells have been processed (unless reset).

Returns
Type Description
Row

reset()

public void reset()

Called when the current in progress row should be dropped

startCell(String family, ByteString qualifier, long timestamp, List<String> labels, long size)

public void startCell(String family, ByteString qualifier, long timestamp, List<String> labels, long size)

Called to start a new cell in a row.

Parameters
Name Description
family String
qualifier ByteString
timestamp long
labels List<String>
size long

startRow(ByteString key)

public void startRow(ByteString key)

Called to start a new row. This will be called once per row.

Parameter
Name Description
key ByteString