public static interface Kvrpcpb.KeyErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getAbort()
Client should abort the txn.
|
com.google.protobuf.ByteString |
getAbortBytes()
Client should abort the txn.
|
Kvrpcpb.AlreadyExist |
getAlreadyExist()
Key already exists
|
Kvrpcpb.AlreadyExistOrBuilder |
getAlreadyExistOrBuilder()
Key already exists
|
Kvrpcpb.AssertionFailed |
getAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
|
Kvrpcpb.AssertionFailedOrBuilder |
getAssertionFailedOrBuilder()
Assertion of a `Mutation` is evaluated as a failure.
|
Kvrpcpb.CommitTsExpired |
getCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
|
Kvrpcpb.CommitTsExpiredOrBuilder |
getCommitTsExpiredOrBuilder()
Commit ts is earlier than min commit ts of a transaction.
|
Kvrpcpb.CommitTsTooLarge |
getCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
|
Kvrpcpb.CommitTsTooLargeOrBuilder |
getCommitTsTooLargeOrBuilder()
Calculated commit TS exceeds the limit given by the user.
|
Kvrpcpb.WriteConflict |
getConflict()
Write conflict is moved from retryable to here.
|
Kvrpcpb.WriteConflictOrBuilder |
getConflictOrBuilder()
Write conflict is moved from retryable to here.
|
Kvrpcpb.Deadlock |
getDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
|
Kvrpcpb.DeadlockOrBuilder |
getDeadlockOrBuilder()
Deadlock is used in pessimistic transaction for single statement rollback.
|
Kvrpcpb.LockInfo |
getLocked()
Client should backoff or cleanup the lock then retry.
|
Kvrpcpb.LockInfoOrBuilder |
getLockedOrBuilder()
Client should backoff or cleanup the lock then retry.
|
String |
getRetryable()
Client may restart the txn.
|
com.google.protobuf.ByteString |
getRetryableBytes()
Client may restart the txn.
|
Kvrpcpb.TxnNotFound |
getTxnNotFound()
Txn not found when checking txn status.
|
Kvrpcpb.TxnNotFoundOrBuilder |
getTxnNotFoundOrBuilder()
Txn not found when checking txn status.
|
boolean |
hasAlreadyExist()
Key already exists
|
boolean |
hasAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
|
boolean |
hasCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
|
boolean |
hasCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
|
boolean |
hasConflict()
Write conflict is moved from retryable to here.
|
boolean |
hasDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
|
boolean |
hasLocked()
Client should backoff or cleanup the lock then retry.
|
boolean |
hasTxnNotFound()
Txn not found when checking txn status.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;
Kvrpcpb.LockInfo getLocked()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;
Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
Client should backoff or cleanup the lock then retry.
.kvrpcpb.LockInfo locked = 1;
String getRetryable()
Client may restart the txn. e.g write conflict.
string retryable = 2;
com.google.protobuf.ByteString getRetryableBytes()
Client may restart the txn. e.g write conflict.
string retryable = 2;
String getAbort()
Client should abort the txn.
string abort = 3;
com.google.protobuf.ByteString getAbortBytes()
Client should abort the txn.
string abort = 3;
boolean hasConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;
Kvrpcpb.WriteConflict getConflict()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;
Kvrpcpb.WriteConflictOrBuilder getConflictOrBuilder()
Write conflict is moved from retryable to here.
.kvrpcpb.WriteConflict conflict = 4;
boolean hasAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;
Kvrpcpb.AlreadyExist getAlreadyExist()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;
Kvrpcpb.AlreadyExistOrBuilder getAlreadyExistOrBuilder()
Key already exists
.kvrpcpb.AlreadyExist already_exist = 5;
boolean hasDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;
Kvrpcpb.Deadlock getDeadlock()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;
Kvrpcpb.DeadlockOrBuilder getDeadlockOrBuilder()
Deadlock is used in pessimistic transaction for single statement rollback.
.kvrpcpb.Deadlock deadlock = 6;
boolean hasCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;
Kvrpcpb.CommitTsExpired getCommitTsExpired()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;
Kvrpcpb.CommitTsExpiredOrBuilder getCommitTsExpiredOrBuilder()
Commit ts is earlier than min commit ts of a transaction.
.kvrpcpb.CommitTsExpired commit_ts_expired = 7;
boolean hasTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;
Kvrpcpb.TxnNotFound getTxnNotFound()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;
Kvrpcpb.TxnNotFoundOrBuilder getTxnNotFoundOrBuilder()
Txn not found when checking txn status.
.kvrpcpb.TxnNotFound txn_not_found = 8;
boolean hasCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;
Kvrpcpb.CommitTsTooLarge getCommitTsTooLarge()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;
Kvrpcpb.CommitTsTooLargeOrBuilder getCommitTsTooLargeOrBuilder()
Calculated commit TS exceeds the limit given by the user.
.kvrpcpb.CommitTsTooLarge commit_ts_too_large = 9;
boolean hasAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;
Kvrpcpb.AssertionFailed getAssertionFailed()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;
Kvrpcpb.AssertionFailedOrBuilder getAssertionFailedOrBuilder()
Assertion of a `Mutation` is evaluated as a failure.
.kvrpcpb.AssertionFailed assertion_failed = 10;
Copyright © 2024 PingCAP. All rights reserved.