Google BigQuery v2 API - Class BigQueryRow (3.10.0)

public sealed class BigQueryRow

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

A row in a result set, which may be from a query or from listing the rows in a table.

Inheritance

object > BigQueryRow

Namespace

Google.Cloud.BigQuery.V2

Assembly

Google.Cloud.BigQuery.V2.dll

Constructors

BigQueryRow(TableRow, TableSchema)

public BigQueryRow(TableRow rawRow, TableSchema schema)

Constructs a row from the underlying REST-ful resource and schema.

Parameters
Name Description
rawRow TableRow

The underlying REST-ful row resource. Must not be null.

schema TableSchema

The table schema. Must not be null.

Remarks

This is public to allow tests to construct instances for production code to consume; production code should not normally construct instances itself. This constructor does not currently allow customization based on whether timestamps are represented using Int64 values, and always assumes floating point values.

Properties

this[int]

public object this[int index] { get; }

Retrieves a cell value by index.

Parameter
Name Description
index int
Property Value
Type Description
object

this[string]

public object this[string name] { get; }

Retrieves a cell value by field name.

Parameter
Name Description
name string
Property Value
Type Description
object

RawRow

public TableRow RawRow { get; }

The underlying REST-ful resource for the row.

Property Value
Type Description
TableRow

Schema

public TableSchema Schema { get; }

The schema to use when interpreting the row results.

Property Value
Type Description
TableSchema