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
    Optional.
    Optional.
    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
    Optional.
    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;
    • hasPrecommitToken

      boolean hasPrecommitToken()
       Optional. A precommit token will be included if the read-write transaction
       is on a multiplexed session.
       The precommit token with the highest sequence number from this transaction
       attempt should be passed to the
       [Commit][google.spanner.v1.Spanner.Commit] request for this transaction.
       This feature is not yet supported and will result in an UNIMPLEMENTED
       error.
       
      .google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the precommitToken field is set.
    • getPrecommitToken

       Optional. A precommit token will be included if the read-write transaction
       is on a multiplexed session.
       The precommit token with the highest sequence number from this transaction
       attempt should be passed to the
       [Commit][google.spanner.v1.Spanner.Commit] request for this transaction.
       This feature is not yet supported and will result in an UNIMPLEMENTED
       error.
       
      .google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The precommitToken.
    • getPrecommitTokenOrBuilder

      MultiplexedSessionPrecommitTokenOrBuilder getPrecommitTokenOrBuilder()
       Optional. A precommit token will be included if the read-write transaction
       is on a multiplexed session.
       The precommit token with the highest sequence number from this transaction
       attempt should be passed to the
       [Commit][google.spanner.v1.Spanner.Commit] request for this transaction.
       This feature is not yet supported and will result in an UNIMPLEMENTED
       error.
       
      .google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 3 [(.google.api.field_behavior) = OPTIONAL];