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.
Namespace
Google.Cloud.BigQuery.V2Assembly
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 | |
---|---|
Name | Description |
rows | ListBigQueryRow The rows returned in the query. Must not be null. |
schema | TableSchema The schema of the results. Must not be null. |
jobReference | JobReference Reference to the job this result set was fetched from. Must not be null. |
tableReference | 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.) |
nextPageToken | string 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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Rows
public IReadOnlyList<BigQueryRow> Rows { get; }
The rows returned in the query.
Property Value | |
---|---|
Type | Description |
IReadOnlyListBigQueryRow |
Schema
public TableSchema Schema { get; }
Schema of the results (even if there are no rows).
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TableReference |