Package | Description |
---|---|
org.tikv.common | |
org.tikv.common.importer | |
org.tikv.common.region | |
org.tikv.raw | |
org.tikv.txn |
Modifier and Type | Method and Description |
---|---|
List<Kvrpcpb.KvPair> |
KVClient.batchGet(BackOffer backOffer,
List<com.google.protobuf.ByteString> keys,
long version)
Get a set of key-value pair by keys from TiKV
|
com.google.protobuf.ByteString |
KVClient.get(com.google.protobuf.ByteString key,
long version)
Get a key-value pair from TiKV if key exists
|
List<Kvrpcpb.KvPair> |
KVClient.scan(com.google.protobuf.ByteString startKey,
com.google.protobuf.ByteString endKey,
long version)
Scan key-value pairs from TiKV in range [startKey, endKey)
|
List<Kvrpcpb.KvPair> |
KVClient.scan(com.google.protobuf.ByteString startKey,
long version) |
List<Kvrpcpb.KvPair> |
KVClient.scan(com.google.protobuf.ByteString startKey,
long version,
int limit)
Scan key-value pairs from TiKV in range [startKey, ♾), maximum to `limit` pairs
|
Modifier and Type | Method and Description |
---|---|
ImporterStoreClient |
ImporterStoreClient.ImporterStoreClientBuilder.build(TiStore store) |
Modifier and Type | Method and Description |
---|---|
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(com.google.protobuf.ByteString key) |
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(com.google.protobuf.ByteString key,
BackOffer backOffer) |
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(com.google.protobuf.ByteString key,
TiStoreType storeType) |
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(com.google.protobuf.ByteString key,
TiStoreType storeType,
BackOffer backOffer) |
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(TiRegion region) |
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(TiRegion region,
BackOffer backOffer) |
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(TiRegion region,
TiStore store) |
RegionStoreClient |
RegionStoreClient.RegionStoreClientBuilder.build(TiRegion region,
TiStore store,
TiStoreType storeType) |
void |
AbstractRegionStoreClient.close() |
Modifier and Type | Method and Description |
---|---|
void |
RawKVClient.ingest(List<Pair<com.google.protobuf.ByteString,com.google.protobuf.ByteString>> list,
Long ttl)
Ingest KV pairs to RawKV using StreamKV API.
|
Modifier and Type | Method and Description |
---|---|
List<Kvrpcpb.KvPair> |
KVClient.batchGet(BackOffer backOffer,
List<com.google.protobuf.ByteString> keys,
long version)
Get a set of key-value pair by keys from TiKV
|
com.google.protobuf.ByteString |
KVClient.get(com.google.protobuf.ByteString key,
long version)
Get a key-value pair from TiKV if key exists
|
void |
KVClient.ingest(List<Pair<com.google.protobuf.ByteString,com.google.protobuf.ByteString>> list) |
List<Kvrpcpb.KvPair> |
KVClient.scan(com.google.protobuf.ByteString startKey,
com.google.protobuf.ByteString endKey,
long version)
Scan key-value pairs from TiKV in range [startKey, endKey)
|
List<Kvrpcpb.KvPair> |
KVClient.scan(com.google.protobuf.ByteString startKey,
long version) |
List<Kvrpcpb.KvPair> |
KVClient.scan(com.google.protobuf.ByteString startKey,
long version,
int limit)
Scan key-value pairs from TiKV in range [startKey, ♾), maximum to `limit` pairs
|
Copyright © 2024 PingCAP. All rights reserved.