Class BigQueryRow (3.0.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
NameDescription
rawRowGoogle.Apis.Bigquery.v2.Data.TableRow

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

schemaGoogle.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
NameDescription
indexInt32
Property Value
TypeDescription
Object

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

Schema

public TableSchema Schema { get; }

The schema to use when interpreting the row results.

Property Value
TypeDescription
Google.Apis.Bigquery.v2.Data.TableSchema