TableReader

reader. TableReader

A BigQuery Storage API Reader that can be used to reader data into BigQuery Table using the Storage API.

Constructor

new TableReader(params)

Creates a new Reader instance.

Parameters:
Name Type Description
params Object

The parameters for the JSONWriter.

Properties
Name Type Description
table TableReference

The stream connection to the BigQuery streaming insert operation.

Methods

(async) getRows(GetRowsOptions)

Retrieves table data as rows in same format as tabledata.list BigQuery v2 API. Extra parameters returned contain Storage Read API specific information like ReadSession and totalRows count.

Parameters:
Name Type Description
GetRowsOptions options