public class InsertAllResponse extends Object implements Serializable
InsertAllRequest
. If a row failed to be inserted, the non-empty list of errors associated
to that row's index can be obtained with getErrorsFor(long)
. getInsertErrors()
can be used to return all errors caused by a InsertAllRequest
as a map.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<BigQueryError> |
getErrorsFor(long index)
Returns errors for the provided row index.
|
Map<Long,List<BigQueryError>> |
getInsertErrors()
Returns all insertion errors as a map whose keys are indexes of rows that failed to insert.
|
boolean |
hasErrors()
Returns
true if no row insertion failed, false otherwise. |
int |
hashCode() |
String |
toString() |
public Map<Long,List<BigQueryError>> getInsertErrors()
BigQueryError
.public List<BigQueryError> getErrorsFor(long index)
null
.public boolean hasErrors()
true
if no row insertion failed, false
otherwise. If false
getInsertErrors()
returns an empty map.Copyright © 2023 Google LLC. All rights reserved.