Interface Store.TxnResultInfoOrBuilder

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

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

    • hasLocked

      boolean hasLocked()
       Client should backoff or cleanup the lock then retry, this error occurs in get phase.
       
      .dingodb.pb.store.LockInfo locked = 1;
      Returns:
      Whether the locked field is set.
    • getLocked

      Store.LockInfo getLocked()
       Client should backoff or cleanup the lock then retry, this error occurs in get phase.
       
      .dingodb.pb.store.LockInfo locked = 1;
      Returns:
      The locked.
    • getLockedOrBuilder

      Store.LockInfoOrBuilder getLockedOrBuilder()
       Client should backoff or cleanup the lock then retry, this error occurs in get phase.
       
      .dingodb.pb.store.LockInfo locked = 1;
    • hasWriteConflict

      boolean hasWriteConflict()
       Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
       
      .dingodb.pb.store.WriteConflict write_conflict = 2;
      Returns:
      Whether the writeConflict field is set.
    • getWriteConflict

      Store.WriteConflict getWriteConflict()
       Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
       
      .dingodb.pb.store.WriteConflict write_conflict = 2;
      Returns:
      The writeConflict.
    • getWriteConflictOrBuilder

      Store.WriteConflictOrBuilder getWriteConflictOrBuilder()
       Write conflict with key which is locked by another transaction, this error occurs in prewrite phase.
       
      .dingodb.pb.store.WriteConflict write_conflict = 2;
    • hasTxnNotFound

      boolean hasTxnNotFound()
       Txn not found when checking txn status.
       
      .dingodb.pb.store.TxnNotFound txn_not_found = 3;
      Returns:
      Whether the txnNotFound field is set.
    • getTxnNotFound

      Store.TxnNotFound getTxnNotFound()
       Txn not found when checking txn status.
       
      .dingodb.pb.store.TxnNotFound txn_not_found = 3;
      Returns:
      The txnNotFound.
    • getTxnNotFoundOrBuilder

      Store.TxnNotFoundOrBuilder getTxnNotFoundOrBuilder()
       Txn not found when checking txn status.
       
      .dingodb.pb.store.TxnNotFound txn_not_found = 3;
    • hasPrimaryMismatch

      boolean hasPrimaryMismatch()
       CheckTxnStatus is sent to a lock that's not the primary.
       
      .dingodb.pb.store.PrimaryMismatch primary_mismatch = 4;
      Returns:
      Whether the primaryMismatch field is set.
    • getPrimaryMismatch

      Store.PrimaryMismatch getPrimaryMismatch()
       CheckTxnStatus is sent to a lock that's not the primary.
       
      .dingodb.pb.store.PrimaryMismatch primary_mismatch = 4;
      Returns:
      The primaryMismatch.
    • getPrimaryMismatchOrBuilder

      Store.PrimaryMismatchOrBuilder getPrimaryMismatchOrBuilder()
       CheckTxnStatus is sent to a lock that's not the primary.
       
      .dingodb.pb.store.PrimaryMismatch primary_mismatch = 4;
    • hasCommitTsExpired

      boolean hasCommitTsExpired()
       Commit ts is earlier than min commit ts of a transaction.
       
      .dingodb.pb.store.CommitTsExpired commit_ts_expired = 5;
      Returns:
      Whether the commitTsExpired field is set.
    • getCommitTsExpired

      Store.CommitTsExpired getCommitTsExpired()
       Commit ts is earlier than min commit ts of a transaction.
       
      .dingodb.pb.store.CommitTsExpired commit_ts_expired = 5;
      Returns:
      The commitTsExpired.
    • getCommitTsExpiredOrBuilder

      Store.CommitTsExpiredOrBuilder getCommitTsExpiredOrBuilder()
       Commit ts is earlier than min commit ts of a transaction.
       
      .dingodb.pb.store.CommitTsExpired commit_ts_expired = 5;