public static interface Kvrpcpb.CommitRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCommitVersion()
Timestamp for the end of the transaction.
|
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
com.google.protobuf.ByteString |
getKeys(int index)
All keys in the transaction (to be committed).
|
int |
getKeysCount()
All keys in the transaction (to be committed).
|
List<com.google.protobuf.ByteString> |
getKeysList()
All keys in the transaction (to be committed).
|
long |
getStartVersion()
Identifies the transaction.
|
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
boolean hasContext()
.kvrpcpb.Context context = 1;Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;long getStartVersion()
Identifies the transaction.
uint64 start_version = 2;List<com.google.protobuf.ByteString> getKeysList()
All keys in the transaction (to be committed).
repeated bytes keys = 3;int getKeysCount()
All keys in the transaction (to be committed).
repeated bytes keys = 3;com.google.protobuf.ByteString getKeys(int index)
All keys in the transaction (to be committed).
repeated bytes keys = 3;long getCommitVersion()
Timestamp for the end of the transaction. Must be greater than `start_version`.
uint64 commit_version = 4;Copyright © 2023 PingCAP. All rights reserved.