Package | Description |
---|---|
org.tikv.common | |
org.tikv.common.importer | |
org.tikv.common.operation.iterator | |
org.tikv.raw | |
org.tikv.txn |
Modifier and Type | Method and Description |
---|---|
static TiSession |
TiSession.create(TiConfiguration conf) |
static TiSession |
TiSession.getInstance(TiConfiguration conf)
Deprecated.
|
TiSession |
Snapshot.getSession() |
Modifier and Type | Method and Description |
---|---|
static List<TiRegion> |
TiBatchWriteUtils.getIndexRegions(TiSession session,
TiTableInfo table) |
static List<TiRegion> |
TiBatchWriteUtils.getRecordRegions(TiSession session,
TiTableInfo table) |
static List<TiRegion> |
TiBatchWriteUtils.getRegionByIndex(TiSession session,
TiTableInfo table,
TiIndexInfo index) |
static List<TiRegion> |
TiBatchWriteUtils.getRegionsByTable(TiSession session,
TiTableInfo table) |
Constructor and Description |
---|
KVClient(TiSession session,
RegionStoreClient.RegionStoreClientBuilder clientBuilder) |
Snapshot(TiTimestamp timestamp,
TiSession session) |
Constructor and Description |
---|
ImporterClient(TiSession tiSession,
com.google.protobuf.ByteString uuid,
Key minKey,
Key maxKey,
TiRegion region,
Long ttl) |
Modifier and Type | Field and Description |
---|---|
protected TiSession |
CoprocessorIterator.session |
Modifier and Type | Method and Description |
---|---|
static CoprocessorIterator<Long> |
CoprocessorIterator.getHandleIterator(TiDAGRequest req,
List<RangeSplitter.RegionTask> regionTasks,
TiSession session)
Build a DAGIterator from TiDAGRequest and region tasks to get handles
|
static CoprocessorIterator<Row> |
CoprocessorIterator.getRowIterator(TiDAGRequest req,
List<RangeSplitter.RegionTask> regionTasks,
TiSession session)
Build a DAGIterator from TiDAGRequest and region tasks to get rows
|
static CoprocessorIterator<TiChunk> |
CoprocessorIterator.getTiChunkIterator(TiDAGRequest req,
List<RangeSplitter.RegionTask> regionTasks,
TiSession session,
int numOfRows)
Build a DAGIterator from TiDAGRequest and region tasks to get rows
|
Modifier and Type | Method and Description |
---|---|
TiSession |
RawKVClient.getSession() |
TiSession |
SmartRawKVClient.getSession() |
TiSession |
RawKVClientBase.getSession()
Get the session of the current client
|
Constructor and Description |
---|
RawKVClient(TiSession session,
RegionStoreClient.RegionStoreClientBuilder clientBuilder) |
Constructor and Description |
---|
KVClient(TiConfiguration conf,
RegionStoreClient.RegionStoreClientBuilder clientBuilder,
TiSession session) |
TTLManager(TiSession session,
long startTS,
byte[] primaryKey) |
TwoPhaseCommitter(TiSession session,
long startTime) |
TwoPhaseCommitter(TiSession session,
long startTime,
long lockTTL) |
TwoPhaseCommitter(TiSession session,
long startTime,
long lockTTL,
ExecutorService executorService) |
Copyright © 2024 PingCAP. All rights reserved.