Google BigQuery v2 API - Class BigQueryPage (3.2.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
rowsList<BigQueryRow>

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

schemaGoogle.Apis.Bigquery.v2.Data.TableSchema

The schema of the results. Must not be null.

jobReferenceGoogle.Apis.Bigquery.v2.Data.JobReference

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

tableReferenceGoogle.Apis.Bigquery.v2.Data.TableReference

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
Google.Apis.Bigquery.v2.Data.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
IReadOnlyList<BigQueryRow>

Schema

public TableSchema Schema { get; }

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

Property Value
TypeDescription
Google.Apis.Bigquery.v2.Data.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
Google.Apis.Bigquery.v2.Data.TableReference