Class BigQueryPage (2.3.0)

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.

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.

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
IReadOnlyList<BigQueryRow>

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