Package | Description |
---|---|
org.tikv.common.apiversion | |
org.tikv.common.region | |
org.tikv.kvproto | |
org.tikv.txn |
Modifier and Type | Method and Description |
---|---|
default List<Kvrpcpb.Mutation> |
RequestKeyCodec.encodeMutations(List<Kvrpcpb.Mutation> mutations) |
List<Kvrpcpb.Mutation> |
RequestKeyV1Codec.encodeMutations(List<Kvrpcpb.Mutation> mutations) |
Modifier and Type | Method and Description |
---|---|
default List<Kvrpcpb.Mutation> |
RequestKeyCodec.encodeMutations(List<Kvrpcpb.Mutation> mutations) |
List<Kvrpcpb.Mutation> |
RequestKeyV1Codec.encodeMutations(List<Kvrpcpb.Mutation> mutations) |
Modifier and Type | Method and Description |
---|---|
void |
RegionStoreClient.prewrite(BackOffer backOffer,
com.google.protobuf.ByteString primary,
List<Kvrpcpb.Mutation> mutations,
long startTs,
long lockTTL)
Prewrite batch keys
|
void |
RegionStoreClient.prewrite(BackOffer bo,
com.google.protobuf.ByteString primaryLock,
List<Kvrpcpb.Mutation> mutations,
long startTs,
long ttl,
boolean skipConstraintCheck)
Prewrite batch keys
|
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.Mutation |
Kvrpcpb.Mutation.Builder.build() |
Kvrpcpb.Mutation |
Kvrpcpb.Mutation.Builder.buildPartial() |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.getDefaultInstance() |
Kvrpcpb.Mutation |
Kvrpcpb.Mutation.getDefaultInstanceForType() |
Kvrpcpb.Mutation |
Kvrpcpb.Mutation.Builder.getDefaultInstanceForType() |
Kvrpcpb.Mutation |
Kvrpcpb.PrewriteRequestOrBuilder.getMutations(int index)
The data to be written to the database.
|
Kvrpcpb.Mutation |
Kvrpcpb.PrewriteRequest.getMutations(int index)
The data to be written to the database.
|
Kvrpcpb.Mutation |
Kvrpcpb.PrewriteRequest.Builder.getMutations(int index)
The data to be written to the database.
|
Kvrpcpb.Mutation |
Kvrpcpb.PessimisticLockRequestOrBuilder.getMutations(int index)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.Mutation |
Kvrpcpb.PessimisticLockRequest.getMutations(int index)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.Mutation |
Kvrpcpb.PessimisticLockRequest.Builder.getMutations(int index)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.Mutation |
Kvrpcpb.ImportRequestOrBuilder.getMutations(int index)
repeated .kvrpcpb.Mutation mutations = 1; |
Kvrpcpb.Mutation |
Kvrpcpb.ImportRequest.getMutations(int index)
repeated .kvrpcpb.Mutation mutations = 1; |
Kvrpcpb.Mutation |
Kvrpcpb.ImportRequest.Builder.getMutations(int index)
repeated .kvrpcpb.Mutation mutations = 1; |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseDelimitedFrom(InputStream input) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(byte[] data) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(ByteBuffer data) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(com.google.protobuf.ByteString data) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(com.google.protobuf.CodedInputStream input) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(InputStream input) |
static Kvrpcpb.Mutation |
Kvrpcpb.Mutation.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
List<Kvrpcpb.Mutation> |
Kvrpcpb.PrewriteRequestOrBuilder.getMutationsList()
The data to be written to the database.
|
List<Kvrpcpb.Mutation> |
Kvrpcpb.PrewriteRequest.getMutationsList()
The data to be written to the database.
|
List<Kvrpcpb.Mutation> |
Kvrpcpb.PrewriteRequest.Builder.getMutationsList()
The data to be written to the database.
|
List<Kvrpcpb.Mutation> |
Kvrpcpb.PessimisticLockRequestOrBuilder.getMutationsList()
In this case every `Op` of the mutations must be `PessimisticLock`.
|
List<Kvrpcpb.Mutation> |
Kvrpcpb.PessimisticLockRequest.getMutationsList()
In this case every `Op` of the mutations must be `PessimisticLock`.
|
List<Kvrpcpb.Mutation> |
Kvrpcpb.PessimisticLockRequest.Builder.getMutationsList()
In this case every `Op` of the mutations must be `PessimisticLock`.
|
List<Kvrpcpb.Mutation> |
Kvrpcpb.ImportRequestOrBuilder.getMutationsList()
repeated .kvrpcpb.Mutation mutations = 1; |
List<Kvrpcpb.Mutation> |
Kvrpcpb.ImportRequest.getMutationsList()
repeated .kvrpcpb.Mutation mutations = 1; |
List<Kvrpcpb.Mutation> |
Kvrpcpb.ImportRequest.Builder.getMutationsList()
repeated .kvrpcpb.Mutation mutations = 1; |
com.google.protobuf.Parser<Kvrpcpb.Mutation> |
Kvrpcpb.Mutation.getParserForType() |
static com.google.protobuf.Parser<Kvrpcpb.Mutation> |
Kvrpcpb.Mutation.parser() |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.PrewriteRequest.Builder |
Kvrpcpb.PrewriteRequest.Builder.addMutations(int index,
Kvrpcpb.Mutation value)
The data to be written to the database.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addMutations(int index,
Kvrpcpb.Mutation value)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.ImportRequest.Builder |
Kvrpcpb.ImportRequest.Builder.addMutations(int index,
Kvrpcpb.Mutation value)
repeated .kvrpcpb.Mutation mutations = 1; |
Kvrpcpb.PrewriteRequest.Builder |
Kvrpcpb.PrewriteRequest.Builder.addMutations(Kvrpcpb.Mutation value)
The data to be written to the database.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addMutations(Kvrpcpb.Mutation value)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.ImportRequest.Builder |
Kvrpcpb.ImportRequest.Builder.addMutations(Kvrpcpb.Mutation value)
repeated .kvrpcpb.Mutation mutations = 1; |
Kvrpcpb.Mutation.Builder |
Kvrpcpb.Mutation.Builder.mergeFrom(Kvrpcpb.Mutation other) |
static Kvrpcpb.Mutation.Builder |
Kvrpcpb.Mutation.newBuilder(Kvrpcpb.Mutation prototype) |
Kvrpcpb.PrewriteRequest.Builder |
Kvrpcpb.PrewriteRequest.Builder.setMutations(int index,
Kvrpcpb.Mutation value)
The data to be written to the database.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.setMutations(int index,
Kvrpcpb.Mutation value)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.ImportRequest.Builder |
Kvrpcpb.ImportRequest.Builder.setMutations(int index,
Kvrpcpb.Mutation value)
repeated .kvrpcpb.Mutation mutations = 1; |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.PrewriteRequest.Builder |
Kvrpcpb.PrewriteRequest.Builder.addAllMutations(Iterable<? extends Kvrpcpb.Mutation> values)
The data to be written to the database.
|
Kvrpcpb.PessimisticLockRequest.Builder |
Kvrpcpb.PessimisticLockRequest.Builder.addAllMutations(Iterable<? extends Kvrpcpb.Mutation> values)
In this case every `Op` of the mutations must be `PessimisticLock`.
|
Kvrpcpb.ImportRequest.Builder |
Kvrpcpb.ImportRequest.Builder.addAllMutations(Iterable<? extends Kvrpcpb.Mutation> values)
repeated .kvrpcpb.Mutation mutations = 1; |
Modifier and Type | Method and Description |
---|---|
ClientRPCResult |
TxnKVClient.prewrite(BackOffer backOffer,
List<Kvrpcpb.Mutation> mutations,
com.google.protobuf.ByteString primary,
long lockTTL,
long startTs,
TiRegion tiRegion,
TiStore store)
when encountered region error,ErrBodyMissing, and other errors
|
Copyright © 2024 PingCAP. All rights reserved.