# Google BigQuery v2 API - Class BigQueryRow (3.12.0)

3.12.0 (latest) 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.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](https://learn.microsoft.com/dotnet/api/system.object) \> BigQueryRow

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest/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` | `https://googleapis.dev/dotnet/Google.Apis.Bigquery.v2/1.74.0.4090/api/Google.Apis.Bigquery.v2.Data.TableRow.html` The underlying REST-ful row resource. Must not be null. |
| `schema` | `https://googleapis.dev/dotnet/Google.Apis.Bigquery.v2/1.74.0.4090/api/Google.Apis.Bigquery.v2.Data.TableSchema.html` 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` | `https://learn.microsoft.com/dotnet/api/system.int32` |

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.object` |   |

### this\[string\]

    public object this[string name] { get; }

Retrieves a cell value by field name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` |

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.object` |   |

### QueryId

    public string QueryId { get; }

The query ID, if this row is returned from a stateless query via jobs.query otherwise null.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RawRow

    public TableRow RawRow { get; }

The underlying REST-ful resource for the row.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://googleapis.dev/dotnet/Google.Apis.Bigquery.v2/1.74.0.4090/api/Google.Apis.Bigquery.v2.Data.TableRow.html` |   |

### Schema

    public TableSchema Schema { get; }

The schema to use when interpreting the row results.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://googleapis.dev/dotnet/Google.Apis.Bigquery.v2/1.74.0.4090/api/Google.Apis.Bigquery.v2.Data.TableSchema.html` |   |