| 程序包 | 说明 |
|---|---|
| com.pingcap.tikv | |
| com.pingcap.tikv.allocator | |
| com.pingcap.tikv.catalog | |
| com.pingcap.tikv.codec | |
| com.pingcap.tikv.operation.iterator |
| 限定符和类型 | 方法和说明 |
|---|---|
Snapshot |
ClientSession.createSnapshot() |
Snapshot |
ClientSession.createSnapshot(org.tikv.common.meta.TiTimestamp ts) |
Snapshot |
ClientSession.createSnapshotWithSnapshotTimestamp() |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
RowIDAllocator.getAllocateId(long dbId,
long tableId,
Snapshot snapshot,
RowIDAllocator.RowIDAllocatorType allocatorType)
read current row id from TiKV according to database id and table id.
|
long |
RowIDAllocator.updateAllocateId(long dbId,
long tableId,
long step,
Snapshot snapshot,
long shard,
boolean hasSignedBit)
read current row id from TiKV and write the calculated value back to TiKV.
|
| 构造器和说明 |
|---|
Catalog(java.util.function.Supplier<Snapshot> snapshotProvider,
boolean showRowId,
String dbPrefix,
boolean loadTables) |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.tikv.shade.com.google.protobuf.ByteString |
MetaCodec.bytesGet(org.tikv.shade.com.google.protobuf.ByteString key,
Snapshot snapshot) |
static org.tikv.shade.com.google.protobuf.ByteString |
MetaCodec.hashGet(org.tikv.shade.com.google.protobuf.ByteString key,
org.tikv.shade.com.google.protobuf.ByteString field,
Snapshot snapshot) |
static List<org.tikv.common.util.Pair<org.tikv.shade.com.google.protobuf.ByteString,org.tikv.shade.com.google.protobuf.ByteString>> |
MetaCodec.hashGetFields(org.tikv.shade.com.google.protobuf.ByteString key,
Snapshot snapshot) |
| 构造器和说明 |
|---|
IndexScanIterator(Snapshot snapshot,
TiDAGRequest req,
Iterator<Handle> handleIterator) |
Copyright © 2023 PingCAP. All rights reserved.