Class BigQueryRow (2.3.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
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.

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
TableRow

Schema

public TableSchema Schema { get; }

The schema to use when interpreting the row results.

Property Value
TypeDescription
TableSchema