Package | Description |
---|---|
org.tikv.kvproto |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addAllMutations(Iterable<? extends Kvrpcpb.Mutation> values)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addMutations(int index,
Kvrpcpb.Mutation.Builder builderForValue)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addMutations(int index,
Kvrpcpb.Mutation value)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addMutations(Kvrpcpb.Mutation.Builder builderForValue)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addMutations(Kvrpcpb.Mutation value)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clear() |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearCheckExistence()
If set to true, it means TiKV need to check if the key exists, and return the result in
the `not_founds` feild in the response.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearForce()
Deprecated.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearForUpdateTs()
Each locking command in a pessimistic transaction has its own timestamp.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearIsFirstLock()
If the request is the first lock request, we don't need to detect deadlock.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearLockTtl()
uint64 lock_ttl = 5; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearMinCommitTs()
If min_commit_ts > 0, this is large transaction proto, the final commit_ts
would be infered from min_commit_ts.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearMutations()
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearPrimaryLock()
bytes primary_lock = 3; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearReturnValues()
If it is true, TiKV will return values of the keys if no error, so TiDB can cache the values for
later read in the same transaction.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearStartVersion()
uint64 start_version = 4; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clearWaitTimeout()
Time to wait for lock released in milliseconds when encountering locks.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.clone() |
Kvrpcpb.PessimisticLockRequest.Builder |
Tikvpb.BatchCommandsRequest.Request.Builder.getPessimisticLockBuilder()
.kvrpcpb.PessimisticLockRequest PessimisticLock = 23; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.mergeFrom(Kvrpcpb.PessimisticLockRequest other) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.newBuilder() |
static Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.newBuilder(Kvrpcpb.PessimisticLockRequest prototype) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.newBuilderForType() |
protected Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.removeMutations(int index)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setCheckExistence(boolean value)
If set to true, it means TiKV need to check if the key exists, and return the result in
the `not_founds` feild in the response.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setForce(boolean value)
Deprecated.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setForUpdateTs(long value)
Each locking command in a pessimistic transaction has its own timestamp.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setIsFirstLock(boolean value)
If the request is the first lock request, we don't need to detect deadlock.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setLockTtl(long value)
uint64 lock_ttl = 5; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setMinCommitTs(long value)
If min_commit_ts > 0, this is large transaction proto, the final commit_ts
would be infered from min_commit_ts.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setMutations(int index,
Kvrpcpb.Mutation.Builder builderForValue)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setMutations(int index,
Kvrpcpb.Mutation value)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setPrimaryLock(com.google.protobuf.ByteString value)
bytes primary_lock = 3; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setReturnValues(boolean value)
If it is true, TiKV will return values of the keys if no error, so TiDB can cache the values for
later read in the same transaction.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setStartVersion(long value)
uint64 start_version = 4; |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setWaitTimeout(long value)
Time to wait for lock released in milliseconds when encountering locks.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.toBuilder() |
Modifier and Type | Method and Description |
---|---|
Tikvpb.BatchCommandsRequest.Request.Builder |
Tikvpb.BatchCommandsRequest.Request.Builder.setPessimisticLock(Kvrpcpb.PessimisticLockRequest.Builder builderForValue)
.kvrpcpb.PessimisticLockRequest PessimisticLock = 23; |
Copyright © 2024 PingCAP. All rights reserved.