Package io.dingodb.store
Interface Store.TxnCommitRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.TxnCommitRequest,Store.TxnCommitRequest.Builder
- Enclosing class:
- Store
public static interface Store.TxnCommitRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe commit_ts of transaction..dingodb.pb.store.Context context = 2;.dingodb.pb.store.Context context = 2;com.google.protobuf.ByteStringgetKeys(int index) All keys in the transaction to be committed.intAll keys in the transaction to be committed.List<com.google.protobuf.ByteString>All keys in the transaction to be committed..dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longThe start_ts of the transaction.boolean.dingodb.pb.store.Context context = 2;boolean.dingodb.pb.common.RequestInfo request_info = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRequestInfo
boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
Common.RequestInfo getRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
Common.RequestInfoOrBuilder getRequestInfoOrBuilder().dingodb.pb.common.RequestInfo request_info = 1; -
hasContext
boolean hasContext().dingodb.pb.store.Context context = 2;- Returns:
- Whether the context field is set.
-
getContext
Store.Context getContext().dingodb.pb.store.Context context = 2;- Returns:
- The context.
-
getContextOrBuilder
Store.ContextOrBuilder getContextOrBuilder().dingodb.pb.store.Context context = 2; -
getStartTs
long getStartTs()The start_ts of the transaction.
int64 start_ts = 3;- Returns:
- The startTs.
-
getCommitTs
long getCommitTs()The commit_ts of transaction. Must be greater than `start_ts`.
int64 commit_ts = 4;- Returns:
- The commitTs.
-
getKeysList
List<com.google.protobuf.ByteString> getKeysList()All keys in the transaction to be committed.
repeated bytes keys = 5;- Returns:
- A list containing the keys.
-
getKeysCount
int getKeysCount()All keys in the transaction to be committed.
repeated bytes keys = 5;- Returns:
- The count of keys.
-
getKeys
com.google.protobuf.ByteString getKeys(int index) All keys in the transaction to be committed.
repeated bytes keys = 5;- Parameters:
index- The index of the element to return.- Returns:
- The keys at the given index.
-