Interface DmlActionOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Whether to autocommit the transaction after executing the DML statement, if the Executor supports autocommit.
    DML statement.
    DML statement.
    boolean
    Whether to autocommit the transaction after executing the DML statement, if the Executor supports autocommit.
    boolean
    DML statement.

    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

    • hasUpdate

      boolean hasUpdate()
       DML statement.
       
      .google.spanner.executor.v1.QueryAction update = 1;
      Returns:
      Whether the update field is set.
    • getUpdate

      QueryAction getUpdate()
       DML statement.
       
      .google.spanner.executor.v1.QueryAction update = 1;
      Returns:
      The update.
    • getUpdateOrBuilder

      QueryActionOrBuilder getUpdateOrBuilder()
       DML statement.
       
      .google.spanner.executor.v1.QueryAction update = 1;
    • hasAutocommitIfSupported

      boolean hasAutocommitIfSupported()
       Whether to autocommit the transaction after executing the DML statement,
       if the Executor supports autocommit.
       
      optional bool autocommit_if_supported = 2;
      Returns:
      Whether the autocommitIfSupported field is set.
    • getAutocommitIfSupported

      boolean getAutocommitIfSupported()
       Whether to autocommit the transaction after executing the DML statement,
       if the Executor supports autocommit.
       
      optional bool autocommit_if_supported = 2;
      Returns:
      The autocommitIfSupported.