Package io.dingodb.store
Class Store.TxnScanResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
io.dingodb.store.Store.TxnScanResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.TxnScanResponseOrBuilder,Cloneable
- Enclosing class:
- Store.TxnScanResponse
public static final class Store.TxnScanResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
implements Store.TxnScanResponseOrBuilder
TxnScan can be partially success if kvs is not null, and has_more is true, means scan is not finished, client should continue to scan from end_key. if txn_result is not null, the kvs may not null, client can use kvs as a partial result, and should continue to scan after resolve lock.Protobuf type
dingodb.pb.store.TxnScanResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllDocuments(Iterable<? extends Common.DocumentWithId> values) for document index region, documents is the return value of the scan requestaddAllKvs(Iterable<? extends Common.KeyValue> values) for store table/index region, kvs is the return value of the scan requestaddAllVectors(Iterable<? extends Common.VectorWithId> values) for vector index region, vectors is the return value of the scan requestaddDocuments(int index, Common.DocumentWithId value) for document index region, documents is the return value of the scan requestaddDocuments(int index, Common.DocumentWithId.Builder builderForValue) for document index region, documents is the return value of the scan requestfor document index region, documents is the return value of the scan requestaddDocuments(Common.DocumentWithId.Builder builderForValue) for document index region, documents is the return value of the scan requestfor document index region, documents is the return value of the scan requestaddDocumentsBuilder(int index) for document index region, documents is the return value of the scan requestaddKvs(int index, Common.KeyValue value) for store table/index region, kvs is the return value of the scan requestaddKvs(int index, Common.KeyValue.Builder builderForValue) for store table/index region, kvs is the return value of the scan requestaddKvs(Common.KeyValue value) for store table/index region, kvs is the return value of the scan requestaddKvs(Common.KeyValue.Builder builderForValue) for store table/index region, kvs is the return value of the scan requestfor store table/index region, kvs is the return value of the scan requestaddKvsBuilder(int index) for store table/index region, kvs is the return value of the scan requestaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addVectors(int index, Common.VectorWithId value) for vector index region, vectors is the return value of the scan requestaddVectors(int index, Common.VectorWithId.Builder builderForValue) for vector index region, vectors is the return value of the scan requestaddVectors(Common.VectorWithId value) for vector index region, vectors is the return value of the scan requestaddVectors(Common.VectorWithId.Builder builderForValue) for vector index region, vectors is the return value of the scan requestfor vector index region, vectors is the return value of the scan requestaddVectorsBuilder(int index) for vector index region, vectors is the return value of the scan requestbuild()clear()for document index region, documents is the return value of the scan requestthe last iteratered key of this scan response.error codeclearField(com.google.protobuf.Descriptors.FieldDescriptor field) if scan is not finished, has_more is true, otherwise falseclearKvs()for store table/index region, kvs is the return value of the scan requestclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) response info.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;This txn_result exists when some key is locked but we cannot check locks of all keys.for vector index region, vectors is the return value of the scan requestclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDocuments(int index) for document index region, documents is the return value of the scan requestgetDocumentsBuilder(int index) for document index region, documents is the return value of the scan requestfor document index region, documents is the return value of the scan requestintfor document index region, documents is the return value of the scan requestfor document index region, documents is the return value of the scan requestgetDocumentsOrBuilder(int index) for document index region, documents is the return value of the scan requestList<? extends Common.DocumentWithIdOrBuilder>for document index region, documents is the return value of the scan requestcom.google.protobuf.ByteStringthe last iteratered key of this scan response.getError()error codeerror codeerror codebooleanif scan is not finished, has_more is true, otherwise falsegetKvs(int index) for store table/index region, kvs is the return value of the scan requestgetKvsBuilder(int index) for store table/index region, kvs is the return value of the scan requestfor store table/index region, kvs is the return value of the scan requestintfor store table/index region, kvs is the return value of the scan requestfor store table/index region, kvs is the return value of the scan requestgetKvsOrBuilder(int index) for store table/index region, kvs is the return value of the scan requestList<? extends Common.KeyValueOrBuilder>for store table/index region, kvs is the return value of the scan requestresponse inforesponse inforesponse info.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;This txn_result exists when some key is locked but we cannot check locks of all keys.This txn_result exists when some key is locked but we cannot check locks of all keys.This txn_result exists when some key is locked but we cannot check locks of all keys.getVectors(int index) for vector index region, vectors is the return value of the scan requestgetVectorsBuilder(int index) for vector index region, vectors is the return value of the scan requestfor vector index region, vectors is the return value of the scan requestintfor vector index region, vectors is the return value of the scan requestfor vector index region, vectors is the return value of the scan requestgetVectorsOrBuilder(int index) for vector index region, vectors is the return value of the scan requestList<? extends Common.VectorWithIdOrBuilder>for vector index region, vectors is the return value of the scan requestbooleanhasError()error codebooleanresponse infoboolean.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;booleanThis txn_result exists when some key is locked but we cannot check locks of all keys.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeError(ErrorOuterClass.Error value) error codemergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Store.TxnScanResponse other) response info.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;This txn_result exists when some key is locked but we cannot check locks of all keys.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeDocuments(int index) for document index region, documents is the return value of the scan requestremoveKvs(int index) for store table/index region, kvs is the return value of the scan requestremoveVectors(int index) for vector index region, vectors is the return value of the scan requestsetDocuments(int index, Common.DocumentWithId value) for document index region, documents is the return value of the scan requestsetDocuments(int index, Common.DocumentWithId.Builder builderForValue) for document index region, documents is the return value of the scan requestsetEndKey(com.google.protobuf.ByteString value) the last iteratered key of this scan response.setError(ErrorOuterClass.Error value) error codesetError(ErrorOuterClass.Error.Builder builderForValue) error codesetHasMore(boolean value) if scan is not finished, has_more is true, otherwise falsesetKvs(int index, Common.KeyValue value) for store table/index region, kvs is the return value of the scan requestsetKvs(int index, Common.KeyValue.Builder builderForValue) for store table/index region, kvs is the return value of the scan requestsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) response infosetResponseInfo(Common.ResponseInfo.Builder builderForValue) response info.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;setStreamMeta(Stream.StreamResponseMeta.Builder builderForValue) .dingodb.pb.stream.StreamResponseMeta stream_meta = 30;setTxnResult(Store.TxnResultInfo value) This txn_result exists when some key is locked but we cannot check locks of all keys.setTxnResult(Store.TxnResultInfo.Builder builderForValue) This txn_result exists when some key is locked but we cannot check locks of all keys.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVectors(int index, Common.VectorWithId value) for vector index region, vectors is the return value of the scan requestsetVectors(int index, Common.VectorWithId.Builder builderForValue) for vector index region, vectors is the return value of the scan requestMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
setField
public Store.TxnScanResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
clearField
public Store.TxnScanResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
clearOneof
public Store.TxnScanResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
setRepeatedField
public Store.TxnScanResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
addRepeatedField
public Store.TxnScanResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Store.TxnScanResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
mergeFrom
public Store.TxnScanResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Store.TxnScanResponse.Builder>- Throws:
IOException
-
hasResponseInfo
public boolean hasResponseInfo()response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
hasResponseInfoin interfaceStore.TxnScanResponseOrBuilder- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
getResponseInfoin interfaceStore.TxnScanResponseOrBuilder- Returns:
- The responseInfo.
-
setResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
setResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
mergeResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
clearResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
getResponseInfoBuilder
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
getResponseInfoOrBuilder
response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
getResponseInfoOrBuilderin interfaceStore.TxnScanResponseOrBuilder
-
hasError
public boolean hasError()error code
.dingodb.pb.error.Error error = 2;- Specified by:
hasErrorin interfaceStore.TxnScanResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
error code
.dingodb.pb.error.Error error = 2;- Specified by:
getErrorin interfaceStore.TxnScanResponseOrBuilder- Returns:
- The error.
-
setError
error code
.dingodb.pb.error.Error error = 2; -
setError
error code
.dingodb.pb.error.Error error = 2; -
mergeError
error code
.dingodb.pb.error.Error error = 2; -
clearError
error code
.dingodb.pb.error.Error error = 2; -
getErrorBuilder
error code
.dingodb.pb.error.Error error = 2; -
getErrorOrBuilder
error code
.dingodb.pb.error.Error error = 2;- Specified by:
getErrorOrBuilderin interfaceStore.TxnScanResponseOrBuilder
-
hasTxnResult
public boolean hasTxnResult()This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
hasTxnResultin interfaceStore.TxnScanResponseOrBuilder- Returns:
- Whether the txnResult field is set.
-
getTxnResult
This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
getTxnResultin interfaceStore.TxnScanResponseOrBuilder- Returns:
- The txnResult.
-
setTxnResult
This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3; -
setTxnResult
This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3; -
mergeTxnResult
This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3; -
clearTxnResult
This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3; -
getTxnResultBuilder
This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3; -
getTxnResultOrBuilder
This txn_result exists when some key is locked but we cannot check locks of all keys. In this case, `kvs` should be empty and the client should redo scanning all the keys after resolving the lock. the txn_result is one of the following: 1. LockInfo: Read conflict with key which is locked by another transaction. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
getTxnResultOrBuilderin interfaceStore.TxnScanResponseOrBuilder
-
getKvsList
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsListin interfaceStore.TxnScanResponseOrBuilder
-
getKvsCount
public int getKvsCount()for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsCountin interfaceStore.TxnScanResponseOrBuilder
-
getKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsin interfaceStore.TxnScanResponseOrBuilder
-
setKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
setKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addAllKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
clearKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
removeKvs
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsBuilder
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsOrBuilder
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsOrBuilderin interfaceStore.TxnScanResponseOrBuilder
-
getKvsOrBuilderList
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsOrBuilderListin interfaceStore.TxnScanResponseOrBuilder
-
addKvsBuilder
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvsBuilder
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsBuilderList
for store table/index region, kvs is the return value of the scan request
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getVectorsList
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5;- Specified by:
getVectorsListin interfaceStore.TxnScanResponseOrBuilder
-
getVectorsCount
public int getVectorsCount()for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5;- Specified by:
getVectorsCountin interfaceStore.TxnScanResponseOrBuilder
-
getVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5;- Specified by:
getVectorsin interfaceStore.TxnScanResponseOrBuilder
-
setVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
setVectors
public Store.TxnScanResponse.Builder setVectors(int index, Common.VectorWithId.Builder builderForValue) for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
addVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
addVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
addVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
addVectors
public Store.TxnScanResponse.Builder addVectors(int index, Common.VectorWithId.Builder builderForValue) for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
addAllVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
clearVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
removeVectors
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getVectorsBuilder
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getVectorsOrBuilder
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5;- Specified by:
getVectorsOrBuilderin interfaceStore.TxnScanResponseOrBuilder
-
getVectorsOrBuilderList
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5;- Specified by:
getVectorsOrBuilderListin interfaceStore.TxnScanResponseOrBuilder
-
addVectorsBuilder
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
addVectorsBuilder
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getVectorsBuilderList
for vector index region, vectors is the return value of the scan request
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getHasMore
public boolean getHasMore()if scan is not finished, has_more is true, otherwise false
bool has_more = 6;- Specified by:
getHasMorein interfaceStore.TxnScanResponseOrBuilder- Returns:
- The hasMore.
-
setHasMore
if scan is not finished, has_more is true, otherwise false
bool has_more = 6;- Parameters:
value- The hasMore to set.- Returns:
- This builder for chaining.
-
clearHasMore
if scan is not finished, has_more is true, otherwise false
bool has_more = 6;- Returns:
- This builder for chaining.
-
getEndKey
public com.google.protobuf.ByteString getEndKey()the last iteratered key of this scan response. if end_key is null, means scan do not successfully iterate any key.
bytes end_key = 7;- Specified by:
getEndKeyin interfaceStore.TxnScanResponseOrBuilder- Returns:
- The endKey.
-
setEndKey
the last iteratered key of this scan response. if end_key is null, means scan do not successfully iterate any key.
bytes end_key = 7;- Parameters:
value- The endKey to set.- Returns:
- This builder for chaining.
-
clearEndKey
the last iteratered key of this scan response. if end_key is null, means scan do not successfully iterate any key.
bytes end_key = 7;- Returns:
- This builder for chaining.
-
getDocumentsList
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8;- Specified by:
getDocumentsListin interfaceStore.TxnScanResponseOrBuilder
-
getDocumentsCount
public int getDocumentsCount()for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8;- Specified by:
getDocumentsCountin interfaceStore.TxnScanResponseOrBuilder
-
getDocuments
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8;- Specified by:
getDocumentsin interfaceStore.TxnScanResponseOrBuilder
-
setDocuments
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
setDocuments
public Store.TxnScanResponse.Builder setDocuments(int index, Common.DocumentWithId.Builder builderForValue) for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
addDocuments
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
addDocuments
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
addDocuments
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
addDocuments
public Store.TxnScanResponse.Builder addDocuments(int index, Common.DocumentWithId.Builder builderForValue) for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
addAllDocuments
public Store.TxnScanResponse.Builder addAllDocuments(Iterable<? extends Common.DocumentWithId> values) for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
clearDocuments
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
removeDocuments
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
getDocumentsBuilder
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
getDocumentsOrBuilder
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8;- Specified by:
getDocumentsOrBuilderin interfaceStore.TxnScanResponseOrBuilder
-
getDocumentsOrBuilderList
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8;- Specified by:
getDocumentsOrBuilderListin interfaceStore.TxnScanResponseOrBuilder
-
addDocumentsBuilder
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
addDocumentsBuilder
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
getDocumentsBuilderList
for document index region, documents is the return value of the scan request
repeated .dingodb.pb.common.DocumentWithId documents = 8; -
hasStreamMeta
public boolean hasStreamMeta().dingodb.pb.stream.StreamResponseMeta stream_meta = 30;- Specified by:
hasStreamMetain interfaceStore.TxnScanResponseOrBuilder- Returns:
- Whether the streamMeta field is set.
-
getStreamMeta
.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;- Specified by:
getStreamMetain interfaceStore.TxnScanResponseOrBuilder- Returns:
- The streamMeta.
-
setStreamMeta
.dingodb.pb.stream.StreamResponseMeta stream_meta = 30; -
setStreamMeta
public Store.TxnScanResponse.Builder setStreamMeta(Stream.StreamResponseMeta.Builder builderForValue) .dingodb.pb.stream.StreamResponseMeta stream_meta = 30; -
mergeStreamMeta
.dingodb.pb.stream.StreamResponseMeta stream_meta = 30; -
clearStreamMeta
.dingodb.pb.stream.StreamResponseMeta stream_meta = 30; -
getStreamMetaBuilder
.dingodb.pb.stream.StreamResponseMeta stream_meta = 30; -
getStreamMetaOrBuilder
.dingodb.pb.stream.StreamResponseMeta stream_meta = 30;- Specified by:
getStreamMetaOrBuilderin interfaceStore.TxnScanResponseOrBuilder
-
setUnknownFields
public final Store.TxnScanResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-
mergeUnknownFields
public final Store.TxnScanResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnScanResponse.Builder>
-