public static interface Kvrpcpb.PrewriteResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.KeyError |
getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2; |
int |
getErrorsCount()
repeated .kvrpcpb.KeyError errors = 2; |
List<Kvrpcpb.KeyError> |
getErrorsList()
repeated .kvrpcpb.KeyError errors = 2; |
Kvrpcpb.KeyErrorOrBuilder |
getErrorsOrBuilder(int index)
repeated .kvrpcpb.KeyError errors = 2; |
List<? extends Kvrpcpb.KeyErrorOrBuilder> |
getErrorsOrBuilderList()
repeated .kvrpcpb.KeyError errors = 2; |
long |
getMinCommitTs()
0 if the min_commit_ts is not ready or any other reason that async
commit cannot proceed.
|
long |
getOnePcCommitTs()
When the transaction is successfully committed with 1PC protocol, this field will be set to
the commit ts of the transaction.
|
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 1; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
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;
List<Kvrpcpb.KeyError> getErrorsList()
repeated .kvrpcpb.KeyError errors = 2;
Kvrpcpb.KeyError getErrors(int index)
repeated .kvrpcpb.KeyError errors = 2;
int getErrorsCount()
repeated .kvrpcpb.KeyError errors = 2;
List<? extends Kvrpcpb.KeyErrorOrBuilder> getErrorsOrBuilderList()
repeated .kvrpcpb.KeyError errors = 2;
Kvrpcpb.KeyErrorOrBuilder getErrorsOrBuilder(int index)
repeated .kvrpcpb.KeyError errors = 2;
long getMinCommitTs()
0 if the min_commit_ts is not ready or any other reason that async commit cannot proceed. The client can then fallback to normal way to continue committing the transaction if prewrite are all finished.
uint64 min_commit_ts = 3;
long getOnePcCommitTs()
When the transaction is successfully committed with 1PC protocol, this field will be set to the commit ts of the transaction. Otherwise, if TiKV failed to commit it with 1PC or the transaction is not 1PC, the value will be 0.
uint64 one_pc_commit_ts = 4;
Copyright © 2024 PingCAP. All rights reserved.