Package com.google.cloud.bigquery
Class InsertAllResponse
java.lang.Object
com.google.cloud.bigquery.InsertAllResponse
- All Implemented Interfaces:
Serializable
Google Cloud BigQuery insert all response. Objects of this class possibly contain errors for an
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.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal booleangetErrorsFor(long index) Returns errors for the provided row index.Returns all insertion errors as a map whose keys are indexes of rows that failed to insert.booleanReturnstrueif no row insertion failed,falseotherwise.final inthashCode()toString()
-
Method Details
-
getInsertErrors
Returns all insertion errors as a map whose keys are indexes of rows that failed to insert. Each failed row index is associated with a non-empty list ofBigQueryError. -
getErrorsFor
Returns errors for the provided row index. If no error exists returnsnull. -
hasErrors
public boolean hasErrors()Returnstrueif no row insertion failed,falseotherwise. IffalsegetInsertErrors()returns an empty map. -
hashCode
public final int hashCode() -
equals
-
toString
-