public static interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.Action |
getAction()
The action performed by TiKV (and why if the action is to rollback).
|
int |
getActionValue()
The action performed by TiKV (and why if the action is to rollback).
|
long |
getCommitVersion()
uint64 commit_version = 4; |
Kvrpcpb.KeyError |
getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyErrorOrBuilder |
getErrorOrBuilder()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.LockInfo |
getLockInfo()
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.LockInfoOrBuilder |
getLockInfoOrBuilder()
.kvrpcpb.LockInfo lock_info = 6; |
long |
getLockTtl()
Three kinds of transaction status:
locked: lock_ttl > 0
committed: commit_version > 0
rollbacked: lock_ttl = 0 && commit_version = 0
|
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 1; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
boolean |
hasError()
.kvrpcpb.KeyError error = 2; |
boolean |
hasLockInfo()
.kvrpcpb.LockInfo lock_info = 6; |
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasRegionError()
.errorpb.Error region_error = 1;
Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;
Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 1;
boolean hasError()
.kvrpcpb.KeyError error = 2;
Kvrpcpb.KeyError getError()
.kvrpcpb.KeyError error = 2;
Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
.kvrpcpb.KeyError error = 2;
long getLockTtl()
Three kinds of transaction status: locked: lock_ttl > 0 committed: commit_version > 0 rollbacked: lock_ttl = 0 && commit_version = 0
uint64 lock_ttl = 3;
long getCommitVersion()
uint64 commit_version = 4;
int getActionValue()
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;
Kvrpcpb.Action getAction()
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;
boolean hasLockInfo()
.kvrpcpb.LockInfo lock_info = 6;
Kvrpcpb.LockInfo getLockInfo()
.kvrpcpb.LockInfo lock_info = 6;
Kvrpcpb.LockInfoOrBuilder getLockInfoOrBuilder()
.kvrpcpb.LockInfo lock_info = 6;
Copyright © 2024 PingCAP. All rights reserved.