public static interface Kvrpcpb.CommitRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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;
index
- The index of the element to return.long getCommitVersion()
Timestamp for the end of the transaction. Must be greater than `start_version`.
uint64 commit_version = 4;
Copyright © 2024 PingCAP. All rights reserved.