Class BigQueryResultImpl<T> (2.40.3)

public class BigQueryResultImpl<T> implements BigQueryResult<T>

Inheritance

java.lang.Object > BigQueryResultImpl<T>

Implements

com.google.cloud.bigquery.BigQueryResult<T>

Type Parameter

Name Description
T

Constructors

BigQueryResultImpl(Schema schema, long totalRows, BlockingQueue<T> buffer, BigQueryResultStats bigQueryResultStats)

public BigQueryResultImpl(Schema schema, long totalRows, BlockingQueue<T> buffer, BigQueryResultStats bigQueryResultStats)
Parameters
Name Description
schema Schema
totalRows long
buffer BlockingQueue<T>
bigQueryResultStats BigQueryResultStats

Methods

getBigQueryResultStats()

public BigQueryResultStats getBigQueryResultStats()
Returns
Type Description
BigQueryResultStats

getResultSet()

public ResultSet getResultSet()
Returns
Type Description
ResultSet

getSchema()

public Schema getSchema()

Returns the schema of the results.

Returns
Type Description
Schema

getTotalRows()

public long getTotalRows()

Returns the total number of rows in the complete result set, which can be more than the number of rows in the first page of results. This might return -1 if the query is long running and the job is not complete at the time this object is returned.

Returns
Type Description
long