public sealed 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 | List<BigQueryRow> The rows returned in the query. Must not be null. |
schema | Google.Apis.Bigquery.v2.Data.TableSchema The schema of the results. Must not be null. |
jobReference | Google.Apis.Bigquery.v2.Data.JobReference Reference to the job this result set was fetched from. Must not be null. |
tableReference | Google.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.) |
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 |
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 | |
---|---|
Type | Description |
String |
Rows
public IReadOnlyList<BigQueryRow> Rows { get; }
The rows returned in the query.
Property Value | |
---|---|
Type | Description |
IReadOnlyList<BigQueryRow> |
Schema
public TableSchema Schema { get; }
Schema of the results (even if there are no rows).
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Google.Apis.Bigquery.v2.Data.TableReference |