Package io.dingodb.store
Interface Store.TxnBatchGetResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.TxnBatchGetResponse,Store.TxnBatchGetResponse.Builder
- Enclosing class:
- Store
public static interface Store.TxnBatchGetResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDocuments(int index) for document index region: When some key is locked but we cannot check locks of all keys.intfor document index region: When some key is locked but we cannot check locks of all keys.for document index region: When some key is locked but we cannot check locks of all keys.getDocumentsOrBuilder(int index) for document index region: When some key is locked but we cannot check locks of all keys.List<? extends Common.DocumentWithIdOrBuilder>for document index region: When some key is locked but we cannot check locks of all keys.getError()error codeerror codegetKvs(int index) for store table/index region: When some key is locked but we cannot check locks of all keys.intfor store table/index region: When some key is locked but we cannot check locks of all keys.for store table/index region: When some key is locked but we cannot check locks of all keys.getKvsOrBuilder(int index) for store table/index region: When some key is locked but we cannot check locks of all keys.List<? extends Common.KeyValueOrBuilder>for store table/index region: When some key is locked but we cannot check locks of all keys.response inforesponse infoThis 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: When some key is locked but we cannot check locks of all keys.intfor vector index region: When some key is locked but we cannot check locks of all keys.for vector index region: When some key is locked but we cannot check locks of all keys.getVectorsOrBuilder(int index) for vector index region: When some key is locked but we cannot check locks of all keys.List<? extends Common.VectorWithIdOrBuilder>for vector index region: When some key is locked but we cannot check locks of all keys.booleanhasError()error codebooleanresponse infobooleanThis txn_result exists when some key is locked but we cannot check locks of all keys.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()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 batch get 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. The client should backoff or cleanup the lock then retry. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3;- Returns:
- Whether the txnResult field is set.
-
getTxnResult
Store.TxnResultInfo 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 batch get 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. The client should backoff or cleanup the lock then retry. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3;- Returns:
- The txnResult.
-
getTxnResultOrBuilder
Store.TxnResultInfoOrBuilder 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 batch get 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. The client should backoff or cleanup the lock then retry. 2. otherwise, txn_result is empty
.dingodb.pb.store.TxnResultInfo txn_result = 3; -
getKvsList
List<Common.KeyValue> getKvsList()for store table/index region: 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 batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvs
for store table/index region: 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 batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsCount
int getKvsCount()for store table/index region: 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 batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsOrBuilderList
List<? extends Common.KeyValueOrBuilder> getKvsOrBuilderList()for store table/index region: 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 batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsOrBuilder
for store table/index region: 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 batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getVectorsList
List<Common.VectorWithId> getVectorsList()for vector index region: When some key is locked but we cannot check locks of all keys. In this case, `vectors` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getVectors
for vector index region: When some key is locked but we cannot check locks of all keys. In this case, `vectors` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getVectorsCount
int getVectorsCount()for vector index region: When some key is locked but we cannot check locks of all keys. In this case, `vectors` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getVectorsOrBuilderList
List<? extends Common.VectorWithIdOrBuilder> getVectorsOrBuilderList()for vector index region: When some key is locked but we cannot check locks of all keys. In this case, `vectors` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getVectorsOrBuilder
for vector index region: When some key is locked but we cannot check locks of all keys. In this case, `vectors` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.VectorWithId vectors = 5; -
getDocumentsList
List<Common.DocumentWithId> getDocumentsList()for document index region: When some key is locked but we cannot check locks of all keys. In this case, `documents` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.DocumentWithId documents = 6; -
getDocuments
for document index region: When some key is locked but we cannot check locks of all keys. In this case, `documents` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.DocumentWithId documents = 6; -
getDocumentsCount
int getDocumentsCount()for document index region: When some key is locked but we cannot check locks of all keys. In this case, `documents` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.DocumentWithId documents = 6; -
getDocumentsOrBuilderList
List<? extends Common.DocumentWithIdOrBuilder> getDocumentsOrBuilderList()for document index region: When some key is locked but we cannot check locks of all keys. In this case, `documents` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.DocumentWithId documents = 6; -
getDocumentsOrBuilder
for document index region: When some key is locked but we cannot check locks of all keys. In this case, `documents` should be empty and the client should redo batch get all the keys after resolving the lock.
repeated .dingodb.pb.common.DocumentWithId documents = 6;
-