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.
Namespace
Google.Cloud.BigQuery.V2Assembly
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 | |
---|---|
Name | Description |
originalRow | BigQueryInsertRow The original row to which these errors are related to if known. May be null. |
errors | IReadOnlyListTableDataInsertAllResponseInsertErrorsData 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 |
long |
Methods
GetEnumerator()
public IEnumerator<SingleError> GetEnumerator()
Returns an interator over the insert errors.
Returns | |
---|---|
Type | Description |
IEnumeratorSingleError | An iterator over the insert errors. |