Class BigQueryRow (2.2.0)

public sealed 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 Google.Apis.Bigquery.v2.Data.TableRow

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

schema Google.Apis.Bigquery.v2.Data.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.

Properties

Item[Int32]

public object this[int index] { get; }

Retrieves a cell value by index.

Parameter
Name Description
index Int32
Property Value
Type Description
Object

Item[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
Google.Apis.Bigquery.v2.Data.TableRow

Schema

public TableSchema Schema { get; }

The schema to use when interpreting the row results.

Property Value
Type Description
Google.Apis.Bigquery.v2.Data.TableSchema