Google BigQuery v2 API - Class BigQueryRow (3.6.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
NameDescription
rawRowTableRow

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

schemaTableSchema

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
NameDescription
indexint
Property Value
TypeDescription
object

this[string]

public object this[string name] { get; }

Retrieves a cell value by field name.

Parameter
NameDescription
namestring
Property Value
TypeDescription
object

RawRow

public TableRow RawRow { get; }

The underlying REST-ful resource for the row.

Property Value
TypeDescription
TableRow

Schema

public TableSchema Schema { get; }

The schema to use when interpreting the row results.

Property Value
TypeDescription
TableSchema