Package io.dingodb.store
Class Store.TxnPessimisticLockResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder>
io.dingodb.store.Store.TxnPessimisticLockResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.TxnPessimisticLockResponseOrBuilder,Cloneable
- Enclosing class:
- Store.TxnPessimisticLockResponse
public static final class Store.TxnPessimisticLockResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder>
implements Store.TxnPessimisticLockResponseOrBuilder
Protobuf type
dingodb.pb.store.TxnPessimisticLockResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllDocuments(Iterable<? extends Common.DocumentWithId> values) for document index region: When some key is locked but we cannot check locks of all keys.addAllKvs(Iterable<? extends Common.KeyValue> values) The values is set if 'return_values' is true in the request and no error.addAllTxnResult(Iterable<? extends Store.TxnResultInfo> values) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.addAllVector(Iterable<? extends Common.VectorWithId> values) The values is set if 'return_values' is true in the request and no error.addDocuments(int index, Common.DocumentWithId value) for document index region: When some key is locked but we cannot check locks of all keys.addDocuments(int index, Common.DocumentWithId.Builder builderForValue) for 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.addDocuments(Common.DocumentWithId.Builder builderForValue) for 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.addDocumentsBuilder(int index) for document index region: When some key is locked but we cannot check locks of all keys.addKvs(int index, Common.KeyValue value) The values is set if 'return_values' is true in the request and no error.addKvs(int index, Common.KeyValue.Builder builderForValue) The values is set if 'return_values' is true in the request and no error.addKvs(Common.KeyValue value) The values is set if 'return_values' is true in the request and no error.addKvs(Common.KeyValue.Builder builderForValue) The values is set if 'return_values' is true in the request and no error.The values is set if 'return_values' is true in the request and no error.addKvsBuilder(int index) The values is set if 'return_values' is true in the request and no error.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTxnResult(int index, Store.TxnResultInfo value) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.addTxnResult(int index, Store.TxnResultInfo.Builder builderForValue) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.addTxnResult(Store.TxnResultInfo value) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.addTxnResult(Store.TxnResultInfo.Builder builderForValue) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.addTxnResultBuilder(int index) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.addVector(int index, Common.VectorWithId value) The values is set if 'return_values' is true in the request and no error.addVector(int index, Common.VectorWithId.Builder builderForValue) The values is set if 'return_values' is true in the request and no error.addVector(Common.VectorWithId value) The values is set if 'return_values' is true in the request and no error.addVector(Common.VectorWithId.Builder builderForValue) The values is set if 'return_values' is true in the request and no error.The values is set if 'return_values' is true in the request and no error.addVectorBuilder(int index) The values is set if 'return_values' is true in the request and no error.build()clear()for document index region: When some key is locked but we cannot check locks of all keys.error codeclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearKvs()The values is set if 'return_values' is true in the request and no error.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) response infoif there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.The values is set if 'return_values' is true in the request and no error.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDocuments(int index) for document index region: When some key is locked but we cannot check locks of all keys.getDocumentsBuilder(int index) for 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.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 codeerror codegetKvs(int index) The values is set if 'return_values' is true in the request and no error.getKvsBuilder(int index) The values is set if 'return_values' is true in the request and no error.The values is set if 'return_values' is true in the request and no error.intThe values is set if 'return_values' is true in the request and no error.The values is set if 'return_values' is true in the request and no error.getKvsOrBuilder(int index) The values is set if 'return_values' is true in the request and no error.List<? extends Common.KeyValueOrBuilder>The values is set if 'return_values' is true in the request and no error.response inforesponse inforesponse infogetTxnResult(int index) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.getTxnResultBuilder(int index) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.intif there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.getTxnResultOrBuilder(int index) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.List<? extends Store.TxnResultInfoOrBuilder>if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.getVector(int index) The values is set if 'return_values' is true in the request and no error.getVectorBuilder(int index) The values is set if 'return_values' is true in the request and no error.The values is set if 'return_values' is true in the request and no error.intThe values is set if 'return_values' is true in the request and no error.The values is set if 'return_values' is true in the request and no error.getVectorOrBuilder(int index) The values is set if 'return_values' is true in the request and no error.List<? extends Common.VectorWithIdOrBuilder>The values is set if 'return_values' is true in the request and no error.booleanhasError()error codebooleanresponse infoprotected 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) response infomergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeDocuments(int index) for document index region: When some key is locked but we cannot check locks of all keys.removeKvs(int index) The values is set if 'return_values' is true in the request and no error.removeTxnResult(int index) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.removeVector(int index) The values is set if 'return_values' is true in the request and no error.setDocuments(int index, Common.DocumentWithId value) for document index region: When some key is locked but we cannot check locks of all keys.setDocuments(int index, Common.DocumentWithId.Builder builderForValue) for document index region: When some key is locked but we cannot check locks of all keys.setError(ErrorOuterClass.Error value) error codesetError(ErrorOuterClass.Error.Builder builderForValue) error codesetKvs(int index, Common.KeyValue value) The values is set if 'return_values' is true in the request and no error.setKvs(int index, Common.KeyValue.Builder builderForValue) The values is set if 'return_values' is true in the request and no error.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) response infosetResponseInfo(Common.ResponseInfo.Builder builderForValue) response infosetTxnResult(int index, Store.TxnResultInfo value) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.setTxnResult(int index, Store.TxnResultInfo.Builder builderForValue) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVector(int index, Common.VectorWithId value) The values is set if 'return_values' is true in the request and no error.setVector(int index, Common.VectorWithId.Builder builderForValue) The values is set if 'return_values' is true in the request and no error.Methods 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.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.Builder>
-
setField
public Store.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.Builder>
-
clearField
public Store.TxnPessimisticLockResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder>
-
clearOneof
public Store.TxnPessimisticLockResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder>
-
setRepeatedField
public Store.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.Builder>
-
addRepeatedField
public Store.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Store.TxnPessimisticLockResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder>
-
mergeFrom
public Store.TxnPessimisticLockResponse.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.TxnPessimisticLockResponse.Builder>- Throws:
IOException
-
hasResponseInfo
public boolean hasResponseInfo()response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
hasResponseInfoin interfaceStore.TxnPessimisticLockResponseOrBuilder- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
getResponseInfoin interfaceStore.TxnPessimisticLockResponseOrBuilder- Returns:
- The responseInfo.
-
setResponseInfo
response info
.dingodb.pb.common.ResponseInfo response_info = 1; -
setResponseInfo
public Store.TxnPessimisticLockResponse.Builder setResponseInfo(Common.ResponseInfo.Builder builderForValue) 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.TxnPessimisticLockResponseOrBuilder
-
hasError
public boolean hasError()error code
.dingodb.pb.error.Error error = 2;- Specified by:
hasErrorin interfaceStore.TxnPessimisticLockResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
error code
.dingodb.pb.error.Error error = 2;- Specified by:
getErrorin interfaceStore.TxnPessimisticLockResponseOrBuilder- Returns:
- The error.
-
setError
error code
.dingodb.pb.error.Error error = 2; -
setError
public Store.TxnPessimisticLockResponse.Builder setError(ErrorOuterClass.Error.Builder builderForValue) 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.TxnPessimisticLockResponseOrBuilder
-
getTxnResultList
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
getTxnResultListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getTxnResultCount
public int getTxnResultCount()if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
getTxnResultCountin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getTxnResult
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
getTxnResultin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
setTxnResult
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
setTxnResult
public Store.TxnPessimisticLockResponse.Builder setTxnResult(int index, Store.TxnResultInfo.Builder builderForValue) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
addTxnResult
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
addTxnResult
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
addTxnResult
public Store.TxnPessimisticLockResponse.Builder addTxnResult(Store.TxnResultInfo.Builder builderForValue) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
addTxnResult
public Store.TxnPessimisticLockResponse.Builder addTxnResult(int index, Store.TxnResultInfo.Builder builderForValue) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
addAllTxnResult
public Store.TxnPessimisticLockResponse.Builder addAllTxnResult(Iterable<? extends Store.TxnResultInfo> values) if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
clearTxnResult
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
removeTxnResult
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
getTxnResultBuilder
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
getTxnResultOrBuilder
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
getTxnResultOrBuilderin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getTxnResultOrBuilderList
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3;- Specified by:
getTxnResultOrBuilderListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
addTxnResultBuilder
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
addTxnResultBuilder
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
getTxnResultBuilderList
if there are many keys can't be locked, there will be many txn_result, each txn_result is for one key the txn_result is one of the following: 1. LockInfo: lock meet a lock and can't proceed, the lock is returned 2. WriteConflict: Write conflict with key which is already written after for_update_ts 2.1 Optimistic: in optimistic transactions. 2.2 PessimisticRetry: a lock acquisition request waits for a lock and awakes, or meets a newer version of data, let Executor retry. 2.3 SelfRolledBack: the transaction itself has been rolled back when it tries to prewrite.repeated .dingodb.pb.store.TxnResultInfo txn_result = 3; -
getKvsList
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getKvsCount
public int getKvsCount()The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsCountin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getKvs
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
setKvs
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
setKvs
public Store.TxnPessimisticLockResponse.Builder setKvs(int index, Common.KeyValue.Builder builderForValue) The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvs
public Store.TxnPessimisticLockResponse.Builder addKvs(int index, Common.KeyValue.Builder builderForValue) The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addAllKvs
public Store.TxnPessimisticLockResponse.Builder addAllKvs(Iterable<? extends Common.KeyValue> values) The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
clearKvs
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
removeKvs
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsBuilder
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsOrBuilder
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsOrBuilderin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getKvsOrBuilderList
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4;- Specified by:
getKvsOrBuilderListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
addKvsBuilder
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
addKvsBuilder
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getKvsBuilderList
The values is set if 'return_values' is true in the request and no error. for store table/index region:
repeated .dingodb.pb.common.KeyValue kvs = 4; -
getVectorList
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5;- Specified by:
getVectorListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getVectorCount
public int getVectorCount()The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5;- Specified by:
getVectorCountin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getVector
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5;- Specified by:
getVectorin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
setVector
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
setVector
public Store.TxnPessimisticLockResponse.Builder setVector(int index, Common.VectorWithId.Builder builderForValue) The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
addVector
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
addVector
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
addVector
public Store.TxnPessimisticLockResponse.Builder addVector(Common.VectorWithId.Builder builderForValue) The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
addVector
public Store.TxnPessimisticLockResponse.Builder addVector(int index, Common.VectorWithId.Builder builderForValue) The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
addAllVector
public Store.TxnPessimisticLockResponse.Builder addAllVector(Iterable<? extends Common.VectorWithId> values) The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
clearVector
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
removeVector
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
getVectorBuilder
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
getVectorOrBuilder
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5;- Specified by:
getVectorOrBuilderin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getVectorOrBuilderList
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5;- Specified by:
getVectorOrBuilderListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
addVectorBuilder
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
addVectorBuilder
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
getVectorBuilderList
The values is set if 'return_values' is true in the request and no error. for vector index region:
repeated .dingodb.pb.common.VectorWithId vector = 5; -
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;- Specified by:
getDocumentsListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
getDocumentsCount
public 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;- Specified by:
getDocumentsCountin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
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;- Specified by:
getDocumentsin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
setDocuments
public Store.TxnPessimisticLockResponse.Builder setDocuments(int index, Common.DocumentWithId value) 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; -
setDocuments
public Store.TxnPessimisticLockResponse.Builder setDocuments(int index, Common.DocumentWithId.Builder builderForValue) 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; -
addDocuments
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; -
addDocuments
public Store.TxnPessimisticLockResponse.Builder addDocuments(int index, Common.DocumentWithId value) 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; -
addDocuments
public Store.TxnPessimisticLockResponse.Builder addDocuments(Common.DocumentWithId.Builder builderForValue) 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; -
addDocuments
public Store.TxnPessimisticLockResponse.Builder addDocuments(int index, Common.DocumentWithId.Builder builderForValue) 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; -
addAllDocuments
public Store.TxnPessimisticLockResponse.Builder addAllDocuments(Iterable<? extends Common.DocumentWithId> values) 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; -
clearDocuments
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; -
removeDocuments
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; -
getDocumentsBuilder
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;- Specified by:
getDocumentsOrBuilderin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
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;- Specified by:
getDocumentsOrBuilderListin interfaceStore.TxnPessimisticLockResponseOrBuilder
-
addDocumentsBuilder
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; -
addDocumentsBuilder
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; -
getDocumentsBuilderList
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; -
setUnknownFields
public final Store.TxnPessimisticLockResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder>
-
mergeUnknownFields
public final Store.TxnPessimisticLockResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.TxnPessimisticLockResponse.Builder>
-