Search in sources :

Example 1 with AvroRows

use of com.google.cloud.bigquery.storage.v1.AvroRows in project beam by apache.

the class BigQueryStorageAvroReader method processReadRowsResponse.

@Override
public void processReadRowsResponse(ReadRowsResponse readRowsResponse) {
    AvroRows avroRows = readRowsResponse.getAvroRows();
    rowCount = avroRows.getRowCount();
    decoder = DecoderFactory.get().binaryDecoder(avroRows.getSerializedBinaryRows().toByteArray(), decoder);
}
Also used : AvroRows(com.google.cloud.bigquery.storage.v1.AvroRows)

Aggregations

AvroRows (com.google.cloud.bigquery.storage.v1.AvroRows)1