Package io.dingodb.store
Interface Store.TxnResolveLockRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.TxnResolveLockRequest,Store.TxnResolveLockRequest.Builder
- Enclosing class:
- Store
public static interface Store.TxnResolveLockRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong`commit_ts == 0` means the transaction was rolled back..dingodb.pb.store.Context context = 2;.dingodb.pb.store.Context context = 2;com.google.protobuf.ByteStringgetKeys(int index) Only resolve specified keys.intOnly resolve specified keys.List<com.google.protobuf.ByteString>Only resolve specified keys..dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longint64 start_ts = 3;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()int64 start_ts = 3;- Returns:
- The startTs.
-
getCommitTs
long getCommitTs()`commit_ts == 0` means the transaction was rolled back. `commit_ts > 0` means the transaction was committed at the given timestamp oracle.
int64 commit_ts = 4;- Returns:
- The commitTs.
-
getKeysList
List<com.google.protobuf.ByteString> getKeysList()Only resolve specified keys.
repeated bytes keys = 5;- Returns:
- A list containing the keys.
-
getKeysCount
int getKeysCount()Only resolve specified keys.
repeated bytes keys = 5;- Returns:
- The count of keys.
-
getKeys
com.google.protobuf.ByteString getKeys(int index) Only resolve specified keys.
repeated bytes keys = 5;- Parameters:
index- The index of the element to return.- Returns:
- The keys at the given index.
-