Class BigQueryResultImpl<T> (2.24.3)

public class BigQueryResultImpl<T> implements BigQueryResult<T>

Inheritance

java.lang.Object > BigQueryResultImpl<T>

Implements

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

Type Parameter

NameDescription
T

Constructors

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

public BigQueryResultImpl(Schema schema, long totalRows, BlockingQueue<T> buffer, BigQueryResultStats bigQueryResultStats)
Parameters
NameDescription
schemaSchema
totalRowslong
bufferBlockingQueue<T>
bigQueryResultStatsBigQueryResultStats

Methods

getBigQueryResultStats()

public BigQueryResultStats getBigQueryResultStats()
Returns
TypeDescription
BigQueryResultStats

getResultSet()

public ResultSet getResultSet()
Returns
TypeDescription
ResultSet

getSchema()

public Schema getSchema()

Returns the schema of the results.

Returns
TypeDescription
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
TypeDescription
long