Interface ExecuteBatchDmlResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExecuteBatchDmlResponse, ExecuteBatchDmlResponse.Builder

public interface ExecuteBatchDmlResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getResultSets(int index)
    One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request.
    int
    One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request.
    One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request.
    One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request.
    One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request.
    com.google.rpc.Status
    If all DML statements are executed successfully, the status is `OK`.
    com.google.rpc.StatusOrBuilder
    If all DML statements are executed successfully, the status is `OK`.
    boolean
    If all DML statements are executed successfully, the status is `OK`.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getResultSetsList

      List<ResultSet> getResultSetsList()
       One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
       request that ran successfully, in the same order as the statements in the
       request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any
       rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each
       [ResultSet][google.spanner.v1.ResultSet] contain the number of rows
       modified by the statement.
      
       Only the first [ResultSet][google.spanner.v1.ResultSet] in the response
       contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
       
      repeated .google.spanner.v1.ResultSet result_sets = 1;
    • getResultSets

      ResultSet getResultSets(int index)
       One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
       request that ran successfully, in the same order as the statements in the
       request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any
       rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each
       [ResultSet][google.spanner.v1.ResultSet] contain the number of rows
       modified by the statement.
      
       Only the first [ResultSet][google.spanner.v1.ResultSet] in the response
       contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
       
      repeated .google.spanner.v1.ResultSet result_sets = 1;
    • getResultSetsCount

      int getResultSetsCount()
       One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
       request that ran successfully, in the same order as the statements in the
       request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any
       rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each
       [ResultSet][google.spanner.v1.ResultSet] contain the number of rows
       modified by the statement.
      
       Only the first [ResultSet][google.spanner.v1.ResultSet] in the response
       contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
       
      repeated .google.spanner.v1.ResultSet result_sets = 1;
    • getResultSetsOrBuilderList

      List<? extends ResultSetOrBuilder> getResultSetsOrBuilderList()
       One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
       request that ran successfully, in the same order as the statements in the
       request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any
       rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each
       [ResultSet][google.spanner.v1.ResultSet] contain the number of rows
       modified by the statement.
      
       Only the first [ResultSet][google.spanner.v1.ResultSet] in the response
       contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
       
      repeated .google.spanner.v1.ResultSet result_sets = 1;
    • getResultSetsOrBuilder

      ResultSetOrBuilder getResultSetsOrBuilder(int index)
       One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
       request that ran successfully, in the same order as the statements in the
       request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any
       rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each
       [ResultSet][google.spanner.v1.ResultSet] contain the number of rows
       modified by the statement.
      
       Only the first [ResultSet][google.spanner.v1.ResultSet] in the response
       contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
       
      repeated .google.spanner.v1.ResultSet result_sets = 1;
    • hasStatus

      boolean hasStatus()
       If all DML statements are executed successfully, the status is `OK`.
       Otherwise, the error status of the first failed statement.
       
      .google.rpc.Status status = 2;
      Returns:
      Whether the status field is set.
    • getStatus

      com.google.rpc.Status getStatus()
       If all DML statements are executed successfully, the status is `OK`.
       Otherwise, the error status of the first failed statement.
       
      .google.rpc.Status status = 2;
      Returns:
      The status.
    • getStatusOrBuilder

      com.google.rpc.StatusOrBuilder getStatusOrBuilder()
       If all DML statements are executed successfully, the status is `OK`.
       Otherwise, the error status of the first failed statement.
       
      .google.rpc.Status status = 2;