Package io.dingodb.store
Interface Store.TxnGetResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.TxnGetResponse,Store.TxnGetResponse.Builder
- Enclosing class:
- Store
public static interface Store.TxnGetResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existgetError()error codeerror coderesponse inforesponse infoA value could not be retrieved due to the state of the database for the requested key.A value could not be retrieved due to the state of the database for the requested key.com.google.protobuf.ByteStringgetValue()for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existbooleanfor document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existbooleanhasError()error codebooleanresponse infobooleanA value could not be retrieved due to the state of the database for the requested key.booleanfor vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not existMethods 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()A value could not be retrieved due to the state of the database for the requested key. 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()A value could not be retrieved due to the state of the database for the requested key. 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()A value could not be retrieved due to the state of the database for the requested key. 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; -
getValue
com.google.protobuf.ByteString getValue()for store table/index region: The value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
bytes value = 4;- Returns:
- The value.
-
hasVector
boolean hasVector()for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5;- Returns:
- Whether the vector field is set.
-
getVector
Common.VectorWithId getVector()for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5;- Returns:
- The vector.
-
getVectorOrBuilder
Common.VectorWithIdOrBuilder getVectorOrBuilder()for vector index region: The vector value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.VectorWithId vector = 5; -
hasDocument
boolean hasDocument()for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6;- Returns:
- Whether the document field is set.
-
getDocument
Common.DocumentWithId getDocument()for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6;- Returns:
- The document.
-
getDocumentOrBuilder
Common.DocumentWithIdOrBuilder getDocumentOrBuilder()for document index region: The document value associated with the key, if not found, is empty and error is NOT_FOUND dingo-store do not accept NULL value, so if value is NULL, it means the key is not exist
.dingodb.pb.common.DocumentWithId document = 6;
-