Package io.dingodb.store
Interface Store.TxnScanLockResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.TxnScanLockResponse,Store.TxnScanLockResponse.Builder
- Enclosing class:
- Store
public static interface Store.TxnScanLockResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringthe last iteratered key of this scan_lock response.getError()error codeerror codebooleanif scan_lock is not finished, has_more is true, otherwise falsegetLocks(int index) Info on all locks found by the scan.intInfo on all locks found by the scan.Info on all locks found by the scan.getLocksOrBuilder(int index) Info on all locks found by the scan.List<? extends Store.LockInfoOrBuilder>Info on all locks found by the scan.response inforesponse info.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;.dingodb.pb.store.TxnResultInfo txn_result = 3;.dingodb.pb.store.TxnResultInfo txn_result = 3;booleanhasError()error codebooleanresponse infoboolean.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;boolean.dingodb.pb.store.TxnResultInfo txn_result = 3;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
-
hasResponseInfo
boolean hasResponseInfo()response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
Common.ResponseInfo getResponseInfo()response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Returns:
- The responseInfo.
-
getResponseInfoOrBuilder
Common.ResponseInfoOrBuilder getResponseInfoOrBuilder()response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
hasError
boolean hasError()error code
.dingodb.pb.error.Error error = 2;- Returns:
- Whether the error field is set.
-
getError
ErrorOuterClass.Error getError()error code
.dingodb.pb.error.Error error = 2;- Returns:
- The error.
-
getErrorOrBuilder
ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()error code
.dingodb.pb.error.Error error = 2; -
hasTxnResult
boolean hasTxnResult().dingodb.pb.store.TxnResultInfo txn_result = 3;- Returns:
- Whether the txnResult field is set.
-
getTxnResult
Store.TxnResultInfo getTxnResult().dingodb.pb.store.TxnResultInfo txn_result = 3;- Returns:
- The txnResult.
-
getTxnResultOrBuilder
Store.TxnResultInfoOrBuilder getTxnResultOrBuilder().dingodb.pb.store.TxnResultInfo txn_result = 3; -
getLocksList
List<Store.LockInfo> getLocksList()Info on all locks found by the scan.
repeated .dingodb.pb.store.LockInfo locks = 4; -
getLocks
Info on all locks found by the scan.
repeated .dingodb.pb.store.LockInfo locks = 4; -
getLocksCount
int getLocksCount()Info on all locks found by the scan.
repeated .dingodb.pb.store.LockInfo locks = 4; -
getLocksOrBuilderList
List<? extends Store.LockInfoOrBuilder> getLocksOrBuilderList()Info on all locks found by the scan.
repeated .dingodb.pb.store.LockInfo locks = 4; -
getLocksOrBuilder
Info on all locks found by the scan.
repeated .dingodb.pb.store.LockInfo locks = 4; -
getHasMore
boolean getHasMore()if scan_lock is not finished, has_more is true, otherwise false
bool has_more = 5;- Returns:
- The hasMore.
-
getEndKey
com.google.protobuf.ByteString getEndKey()the last iteratered key of this scan_lock response. if end_key is null, means scan do not successfully iterate any key.
bytes end_key = 6;- Returns:
- The endKey.
-
hasStreamMeta
boolean hasStreamMeta().dingodb.pb.stream.StreamResponseMeta stream_meta = 30;- Returns:
- Whether the streamMeta field is set.
-
getStreamMeta
Stream.StreamResponseMeta getStreamMeta().dingodb.pb.stream.StreamResponseMeta stream_meta = 30;- Returns:
- The streamMeta.
-
getStreamMetaOrBuilder
Stream.StreamResponseMetaOrBuilder getStreamMetaOrBuilder().dingodb.pb.stream.StreamResponseMeta stream_meta = 30;
-