public static interface Kvrpcpb.ContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getAppliedIndex()
After a region applies to `applied_index`, we can get a
snapshot for the region even if the peer is a follower.
|
Kvrpcpb.IsolationLevel |
getIsolationLevel()
.kvrpcpb.IsolationLevel isolation_level = 7; |
int |
getIsolationLevelValue()
.kvrpcpb.IsolationLevel isolation_level = 7; |
long |
getMaxExecutionDurationMs()
uint64 max_execution_duration_ms = 14; |
boolean |
getNotFillCache()
bool not_fill_cache = 8; |
Metapb.Peer |
getPeer()
.metapb.Peer peer = 3; |
Metapb.PeerOrBuilder |
getPeerOrBuilder()
.metapb.Peer peer = 3; |
Kvrpcpb.CommandPri |
getPriority()
.kvrpcpb.CommandPri priority = 6; |
int |
getPriorityValue()
.kvrpcpb.CommandPri priority = 6; |
boolean |
getRecordScanStat()
True means RocksDB scan statistics should be recorded and returned.
|
boolean |
getRecordTimeStat()
True means execution time statistics should be recorded and returned.
|
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 2; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 2; |
long |
getRegionId()
uint64 region_id = 1; |
boolean |
getReplicaRead()
bool replica_read = 12; |
long |
getResolvedLocks(int index)
repeated uint64 resolved_locks = 13; |
int |
getResolvedLocksCount()
repeated uint64 resolved_locks = 13; |
List<Long> |
getResolvedLocksList()
repeated uint64 resolved_locks = 13; |
boolean |
getStaleRead()
Not required to read the most up-to-date data, replicas with `safe_ts` >= `start_ts`
can handle read request directly
bool stale_read = 17; |
boolean |
getSyncLog()
bool sync_log = 9; |
long |
getTaskId()
A hint for TiKV to schedule tasks more fairly.
|
long |
getTerm()
uint64 term = 5; |
boolean |
hasPeer()
.metapb.Peer peer = 3; |
boolean |
hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 2; |
long getRegionId()
uint64 region_id = 1;boolean hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 2;Metapb.RegionEpoch getRegionEpoch()
.metapb.RegionEpoch region_epoch = 2;Metapb.RegionEpochOrBuilder getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 2;boolean hasPeer()
.metapb.Peer peer = 3;Metapb.Peer getPeer()
.metapb.Peer peer = 3;Metapb.PeerOrBuilder getPeerOrBuilder()
.metapb.Peer peer = 3;long getTerm()
uint64 term = 5;int getPriorityValue()
.kvrpcpb.CommandPri priority = 6;Kvrpcpb.CommandPri getPriority()
.kvrpcpb.CommandPri priority = 6;int getIsolationLevelValue()
.kvrpcpb.IsolationLevel isolation_level = 7;Kvrpcpb.IsolationLevel getIsolationLevel()
.kvrpcpb.IsolationLevel isolation_level = 7;boolean getNotFillCache()
bool not_fill_cache = 8;boolean getSyncLog()
bool sync_log = 9;boolean getRecordTimeStat()
True means execution time statistics should be recorded and returned.
bool record_time_stat = 10;boolean getRecordScanStat()
True means RocksDB scan statistics should be recorded and returned.
bool record_scan_stat = 11;boolean getReplicaRead()
bool replica_read = 12;int getResolvedLocksCount()
repeated uint64 resolved_locks = 13;long getResolvedLocks(int index)
repeated uint64 resolved_locks = 13;long getMaxExecutionDurationMs()
uint64 max_execution_duration_ms = 14;long getAppliedIndex()
After a region applies to `applied_index`, we can get a snapshot for the region even if the peer is a follower.
uint64 applied_index = 15;long getTaskId()
A hint for TiKV to schedule tasks more fairly. Query with same task ID may share same priority and resource quota.
uint64 task_id = 16;boolean getStaleRead()
Not required to read the most up-to-date data, replicas with `safe_ts` >= `start_ts` can handle read request directly
bool stale_read = 17;Copyright © 2022 PingCAP. All rights reserved.