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 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

       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

      Common.KeyValue getKvs(int index)
       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

      Common.KeyValueOrBuilder getKvsOrBuilder(int index)
       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

      Common.VectorWithId getVectors(int index)
       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

      Common.VectorWithIdOrBuilder getVectorsOrBuilder(int index)
       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

      Common.DocumentWithId getDocuments(int index)
       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

      Common.DocumentWithIdOrBuilder getDocumentsOrBuilder(int index)
       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;