Google BigQuery v2 API - Class BigQueryPage (3.8.0)

public sealed class BigQueryPage

Reference documentation and code samples for the Google BigQuery v2 API class BigQueryPage.

A page of rows loaded into memory from a BigQueryResults, up to a given maximum count. A page token may be present to indicate that more results are available.

Inheritance

object > BigQueryPage

Namespace

Google.Cloud.BigQuery.V2

Assembly

Google.Cloud.BigQuery.V2.dll

Constructors

BigQueryPage(List<BigQueryRow>, TableSchema, JobReference, TableReference, string)

public BigQueryPage(List<BigQueryRow> rows, TableSchema schema, JobReference jobReference, TableReference tableReference, string nextPageToken)

Constructs a result set with the given rows and schema, retrieved from the specified job. This constructor exists for the sake of testing.

Parameters
NameDescription
rowsListBigQueryRow

The rows returned in the query. Must not be null.

schemaTableSchema

The schema of the results. Must not be null.

jobReferenceJobReference

Reference to the job this result set was fetched from. Must not be null.

tableReferenceTableReference

Reference to the table this result set may has been fetched from. May be null. (For example, script queries don't store results in tables.)

nextPageTokenstring

The page token to use to fetch further results. May be null, indicating that there are no more results.

Properties

JobReference

public JobReference JobReference { get; }

Reference to the job this result set was fetched from.

Property Value
TypeDescription
JobReference

NextPageToken

public string NextPageToken { get; }

If non-null, indicates more results may be available. Use this page token to fetch subsequent rows. This will never be present if fewer rows are returned than were requested, and will never be empty.

Property Value
TypeDescription
string

Rows

public IReadOnlyList<BigQueryRow> Rows { get; }

The rows returned in the query.

Property Value
TypeDescription
IReadOnlyListBigQueryRow

Schema

public TableSchema Schema { get; }

Schema of the results (even if there are no rows).

Property Value
TypeDescription
TableSchema

TableReference

public TableReference TableReference { get; }

Reference to the table this result set may has been fetched from. May be null. (For example, script queries don't store results in tables.)

Property Value
TypeDescription
TableReference