public sealed class BigQueryInsertRowErrors : IEnumerable<SingleError>, IEnumerable
Represents insert errors related to one row.
Namespace
Google.Cloud.BigQuery.V2Assembly
Google.Cloud.BigQuery.V2.dll
Constructors
BigQueryInsertRowErrors(BigQueryInsertRow, IReadOnlyList<TableDataInsertAllResponse.InsertErrorsData>)
public BigQueryInsertRowErrors(BigQueryInsertRow originalRow, IReadOnlyList<TableDataInsertAllResponse.InsertErrorsData> errors)
Constructs a new set of insert errors related to one insert row.
Parameters | |
---|---|
Name | Description |
originalRow | BigQueryInsertRow The original row to which these errors are related to if known. May be null. |
errors | IReadOnlyList<Google.Apis.Bigquery.v2.Data.TableDataInsertAllResponse.InsertErrorsData> The errors information. |
Properties
OriginalRow
public BigQueryInsertRow OriginalRow { get; }
The original row to which these errors are related to.
Property Value | |
---|---|
Type | Description |
BigQueryInsertRow |
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 | |
---|---|
Type | Description |
Nullable<Int64> |
Methods
GetEnumerator()
public IEnumerator<SingleError> GetEnumerator()
Returns an interator over the insert errors.
Returns | |
---|---|
Type | Description |
IEnumerator<SingleError> | An iterator over the insert errors. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns an iterator over the insert errors.
Returns | |
---|---|
Type | Description |
IEnumerator | An iterator over the insert errors. |