public static final class TikvGrpc.TikvBlockingStub extends io.grpc.stub.AbstractBlockingStub<TikvGrpc.TikvBlockingStub>
Key/value store API for TiKV.
protected TikvGrpc.TikvBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<TikvGrpc.TikvBlockingStub>
public Kvrpcpb.GetResponse kvGet(Kvrpcpb.GetRequest request)
Commands using a transactional interface.
public Kvrpcpb.ScanResponse kvScan(Kvrpcpb.ScanRequest request)
public Kvrpcpb.PrewriteResponse kvPrewrite(Kvrpcpb.PrewriteRequest request)
public Kvrpcpb.PessimisticLockResponse kvPessimisticLock(Kvrpcpb.PessimisticLockRequest request)
public Kvrpcpb.PessimisticRollbackResponse kVPessimisticRollback(Kvrpcpb.PessimisticRollbackRequest request)
public Kvrpcpb.TxnHeartBeatResponse kvTxnHeartBeat(Kvrpcpb.TxnHeartBeatRequest request)
public Kvrpcpb.CheckTxnStatusResponse kvCheckTxnStatus(Kvrpcpb.CheckTxnStatusRequest request)
public Kvrpcpb.CheckSecondaryLocksResponse kvCheckSecondaryLocks(Kvrpcpb.CheckSecondaryLocksRequest request)
public Kvrpcpb.CommitResponse kvCommit(Kvrpcpb.CommitRequest request)
public Kvrpcpb.ImportResponse kvImport(Kvrpcpb.ImportRequest request)
public Kvrpcpb.CleanupResponse kvCleanup(Kvrpcpb.CleanupRequest request)
public Kvrpcpb.BatchGetResponse kvBatchGet(Kvrpcpb.BatchGetRequest request)
public Kvrpcpb.BatchRollbackResponse kvBatchRollback(Kvrpcpb.BatchRollbackRequest request)
public Kvrpcpb.ScanLockResponse kvScanLock(Kvrpcpb.ScanLockRequest request)
public Kvrpcpb.ResolveLockResponse kvResolveLock(Kvrpcpb.ResolveLockRequest request)
public Kvrpcpb.GCResponse kvGC(Kvrpcpb.GCRequest request)
public Kvrpcpb.DeleteRangeResponse kvDeleteRange(Kvrpcpb.DeleteRangeRequest request)
public Kvrpcpb.RawGetResponse rawGet(Kvrpcpb.RawGetRequest request)
Raw commands; no transaction support.
public Kvrpcpb.RawBatchGetResponse rawBatchGet(Kvrpcpb.RawBatchGetRequest request)
public Kvrpcpb.RawPutResponse rawPut(Kvrpcpb.RawPutRequest request)
public Kvrpcpb.RawBatchPutResponse rawBatchPut(Kvrpcpb.RawBatchPutRequest request)
public Kvrpcpb.RawDeleteResponse rawDelete(Kvrpcpb.RawDeleteRequest request)
public Kvrpcpb.RawBatchDeleteResponse rawBatchDelete(Kvrpcpb.RawBatchDeleteRequest request)
public Kvrpcpb.RawScanResponse rawScan(Kvrpcpb.RawScanRequest request)
public Kvrpcpb.RawDeleteRangeResponse rawDeleteRange(Kvrpcpb.RawDeleteRangeRequest request)
public Kvrpcpb.RawBatchScanResponse rawBatchScan(Kvrpcpb.RawBatchScanRequest request)
public Kvrpcpb.RawGetKeyTTLResponse rawGetKeyTTL(Kvrpcpb.RawGetKeyTTLRequest request)
Get TTL of the key. Returns 0 if TTL is not set for the key.
public Kvrpcpb.RawCASResponse rawCompareAndSwap(Kvrpcpb.RawCASRequest request)
Compare if the value in database equals to `RawCASRequest.previous_value` before putting the new value. If not, this request will have no effect and the value in the database will be returned.
public Kvrpcpb.RawChecksumResponse rawChecksum(Kvrpcpb.RawChecksumRequest request)
public Kvrpcpb.UnsafeDestroyRangeResponse unsafeDestroyRange(Kvrpcpb.UnsafeDestroyRangeRequest request)
Store commands (sent to a each TiKV node in a cluster, rather than a certain region).
public Kvrpcpb.RegisterLockObserverResponse registerLockObserver(Kvrpcpb.RegisterLockObserverRequest request)
public Kvrpcpb.CheckLockObserverResponse checkLockObserver(Kvrpcpb.CheckLockObserverRequest request)
public Kvrpcpb.RemoveLockObserverResponse removeLockObserver(Kvrpcpb.RemoveLockObserverRequest request)
public Kvrpcpb.PhysicalScanLockResponse physicalScanLock(Kvrpcpb.PhysicalScanLockRequest request)
public Coprocessor.Response coprocessor(Coprocessor.Request request)
Commands for executing SQL in the TiKV coprocessor (i.e., 'pushed down' to TiKV rather than executed in TiDB).
public Iterator<Coprocessor.Response> coprocessorStream(Coprocessor.Request request)
public Iterator<Coprocessor.BatchResponse> batchCoprocessor(Coprocessor.BatchRequest request)
public Kvrpcpb.RawCoprocessorResponse rawCoprocessor(Kvrpcpb.RawCoprocessorRequest request)
Command for executing custom user requests in TiKV coprocessor_v2.
public Kvrpcpb.SplitRegionResponse splitRegion(Kvrpcpb.SplitRegionRequest request)
Sent from PD or TiDB to a TiKV node.
public Kvrpcpb.ReadIndexResponse readIndex(Kvrpcpb.ReadIndexRequest request)
Sent from TiFlash or TiKV to a TiKV node.
public Kvrpcpb.MvccGetByKeyResponse mvccGetByKey(Kvrpcpb.MvccGetByKeyRequest request)
Commands for debugging transactions.
public Kvrpcpb.MvccGetByStartTsResponse mvccGetByStartTs(Kvrpcpb.MvccGetByStartTsRequest request)
public Mpp.DispatchTaskResponse dispatchMPPTask(Mpp.DispatchTaskRequest request)
These are for mpp execution.
public Mpp.CancelTaskResponse cancelMPPTask(Mpp.CancelTaskRequest request)
public Iterator<Mpp.MPPDataPacket> establishMPPConnection(Mpp.EstablishMPPConnectionRequest request)
public Mpp.IsAliveResponse isAlive(Mpp.IsAliveRequest request)
public Kvrpcpb.CheckLeaderResponse checkLeader(Kvrpcpb.CheckLeaderRequest request)
/ CheckLeader sends all information (includes region term and epoch) to other stores. / Once a store receives a request, it checks term and epoch for each region, and sends the regions whose / term and epoch match with local information in the store. / After the client collected all responses from all stores, it checks if got a quorum of responses from / other stores for every region, and decides to advance resolved ts from these regions.
public Kvrpcpb.StoreSafeTSResponse getStoreSafeTS(Kvrpcpb.StoreSafeTSRequest request)
/ Get the minimal `safe_ts` from regions at the store
public Kvrpcpb.GetLockWaitInfoResponse getLockWaitInfo(Kvrpcpb.GetLockWaitInfoRequest request)
/ Get the information about lock waiting from TiKV.
Copyright © 2024 PingCAP. All rights reserved.