Google BigQuery v2 API - Class BigQueryInsertRowErrors (3.8.0)

public sealed class BigQueryInsertRowErrors : IEnumerable<SingleError>, IEnumerable

Reference documentation and code samples for the Google BigQuery v2 API class BigQueryInsertRowErrors.

Represents insert errors related to one row.

Inheritance

object > BigQueryInsertRowErrors

Namespace

Google.Cloud.BigQuery.V2

Assembly

Google.Cloud.BigQuery.V2.dll

Constructors

BigQueryInsertRowErrors(BigQueryInsertRow, IReadOnlyList<InsertErrorsData>)

public BigQueryInsertRowErrors(BigQueryInsertRow originalRow, IReadOnlyList<TableDataInsertAllResponse.InsertErrorsData> errors)

Constructs a new set of insert errors related to one insert row.

Parameters
NameDescription
originalRowBigQueryInsertRow

The original row to which these errors are related to if known. May be null.

errorsIReadOnlyListTableDataInsertAllResponseInsertErrorsData

The errors information.

Properties

OriginalRow

public BigQueryInsertRow OriginalRow { get; }

The original row to which these errors are related to.

Property Value
TypeDescription
BigQueryInsertRow
Remarks

Some errors obtained after an insert request might not contain enough information so as to associate them with one row. In such cases this may be null.

OriginalRowIndex

public long? OriginalRowIndex { get; }

The index of the row these errors relate to in the original inser request. Might be unknown.

Property Value
TypeDescription
long

Methods

GetEnumerator()

public IEnumerator<SingleError> GetEnumerator()

Returns an interator over the insert errors.

Returns
TypeDescription
IEnumeratorSingleError

An iterator over the insert errors.