Class DefaultRowAdapter.DefaultRowBuilder (2.35.1)

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
NameDescription
valueByteString

createScanMarkerRow(ByteString key)

public Row createScanMarkerRow(ByteString key)

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

Parameter
NameDescription
keyByteString
Returns
TypeDescription
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
TypeDescription
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
NameDescription
familyString
qualifierByteString
timestamplong
labelsList<String>
sizelong

startRow(ByteString key)

public void startRow(ByteString key)

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

Parameter
NameDescription
keyByteString