Interface Store.TxnCheckSecondaryLocksResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Store.TxnCheckSecondaryLocksResponse, Store.TxnCheckSecondaryLocksResponse.Builder
Enclosing class:
Store

public static interface Store.TxnCheckSecondaryLocksResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasResponseInfo

      boolean hasResponseInfo()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Returns:
      Whether the responseInfo field is set.
    • getResponseInfo

      Common.ResponseInfo getResponseInfo()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Returns:
      The responseInfo.
    • getResponseInfoOrBuilder

      Common.ResponseInfoOrBuilder getResponseInfoOrBuilder()
       response info
       
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • hasError

      boolean hasError()
       error code
       
      .dingodb.pb.error.Error error = 2;
      Returns:
      Whether the error field is set.
    • getError

       error code
       
      .dingodb.pb.error.Error error = 2;
      Returns:
      The error.
    • getErrorOrBuilder

      ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()
       error code
       
      .dingodb.pb.error.Error error = 2;
    • hasTxnResult

      boolean hasTxnResult()
       the txn_result is one of the following:
       1. PrimaryMismatch: CheckTxnStatus is sent to a lock that's not the primary.
       2. TxnNotFound: Txn not found when checking txn status.
       3. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Returns:
      Whether the txnResult field is set.
    • getTxnResult

      Store.TxnResultInfo getTxnResult()
       the txn_result is one of the following:
       1. PrimaryMismatch: CheckTxnStatus is sent to a lock that's not the primary.
       2. TxnNotFound: Txn not found when checking txn status.
       3. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
      Returns:
      The txnResult.
    • getTxnResultOrBuilder

      Store.TxnResultInfoOrBuilder getTxnResultOrBuilder()
       the txn_result is one of the following:
       1. PrimaryMismatch: CheckTxnStatus is sent to a lock that's not the primary.
       2. TxnNotFound: Txn not found when checking txn status.
       3. otherwise, txn_result is empty
       
      .dingodb.pb.store.TxnResultInfo txn_result = 3;
    • getLocksList

      List<Store.LockInfo> getLocksList()
       For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
       this list if there is a lock present and belonging to the correct transaction,
       nil otherwise.
       
      repeated .dingodb.pb.store.LockInfo locks = 4;
    • getLocks

      Store.LockInfo getLocks(int index)
       For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
       this list if there is a lock present and belonging to the correct transaction,
       nil otherwise.
       
      repeated .dingodb.pb.store.LockInfo locks = 4;
    • getLocksCount

      int getLocksCount()
       For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
       this list if there is a lock present and belonging to the correct transaction,
       nil otherwise.
       
      repeated .dingodb.pb.store.LockInfo locks = 4;
    • getLocksOrBuilderList

      List<? extends Store.LockInfoOrBuilder> getLocksOrBuilderList()
       For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
       this list if there is a lock present and belonging to the correct transaction,
       nil otherwise.
       
      repeated .dingodb.pb.store.LockInfo locks = 4;
    • getLocksOrBuilder

      Store.LockInfoOrBuilder getLocksOrBuilder(int index)
       For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in
       this list if there is a lock present and belonging to the correct transaction,
       nil otherwise.
       
      repeated .dingodb.pb.store.LockInfo locks = 4;
    • getCommitTs

      long getCommitTs()
       If any of the locks have been committed, this is the commit ts used. If no
       locks have been committed, it will be zero.
       
      uint64 commit_ts = 5;
      Returns:
      The commitTs.