| 程序包 | 说明 |
|---|---|
| com.pingcap.tikv.codec | |
| com.pingcap.tikv.key | |
| com.pingcap.tikv.operation.iterator | |
| com.pingcap.tikv.predicates | |
| com.pingcap.tikv.statistics |
| 限定符和类型 | 方法和说明 |
|---|---|
static Key |
KeyUtils.getEncodedKey(org.tikv.shade.com.google.protobuf.ByteString key) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CompoundKey |
class |
IndexKey |
class |
RowKey |
class |
TypedKey |
| 限定符和类型 | 字段和说明 |
|---|---|
static Key |
Key.EMPTY |
static Key |
Key.MAX |
static Key |
Key.MIN |
static Key |
Key.NULL |
| 限定符和类型 | 方法和说明 |
|---|---|
Key |
Key.append(Key other) |
Key[] |
IndexKey.getDataKeys() |
Key |
Key.next()
Next key simply append a zero byte to previous key.
|
Key |
Key.nextPrefix()
nextPrefix key will be key with next available rid.
|
static Key |
Key.toRawKey(byte[] bytes) |
static Key |
Key.toRawKey(byte[] bytes,
boolean negative) |
static Key |
Key.toRawKey(org.tikv.shade.com.google.protobuf.ByteString bytes) |
static Key |
Key.toRawKey(org.tikv.shade.com.google.protobuf.ByteString bytes,
boolean negative) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.tikv.common.util.Pair<Key,Key> |
StatisticsKeyRangeBuilder.compute() |
org.tikv.common.util.Pair<Key,Key> |
StatisticsKeyRangeBuilder.compute() |
List<Key> |
CompoundKey.getKeys() |
| 限定符和类型 | 方法和说明 |
|---|---|
Key |
Key.append(Key other) |
CompoundKey.Builder |
CompoundKey.Builder.append(Key key) |
int |
Key.compareTo(Key other) |
static CompoundKey |
CompoundKey.concat(Key lKey,
Key rKey) |
static IndexKey |
IndexKey.toIndexKey(long tableId,
long indexId,
Key... dataKeys) |
| 构造器和说明 |
|---|
CompoundKey(List<Key> keys,
byte[] value) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Key |
ScanIterator.endKey |
| 限定符和类型 | 方法和说明 |
|---|---|
Key |
IndexRange.getAccessKey() |
| 构造器和说明 |
|---|
IndexRange(Key accessKey,
org.tikv.shade.com.google.common.collect.Range<TypedKey> range) |
ScanRange(Key signedStartKey,
Key signedEndKey,
Key unsignedStartKey,
Key unsignedEndKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
Key |
Bucket.getLowerBound() |
Key |
Bucket.getUpperBound() |
| 限定符和类型 | 方法和说明 |
|---|---|
double |
Histogram.lessAndEqRowCount(Key values)
lessAndEqRowCount estimates the row count where the column less than or equal to value.
|
void |
Bucket.setLowerBound(Key lowerBound) |
void |
Bucket.setUpperBound(Key upperBound) |
| 构造器和说明 |
|---|
Bucket(Key upperBound)
used for binary search only
|
Bucket(long count,
long repeats,
Key lowerBound,
Key upperBound) |
Copyright © 2023 PingCAP. All rights reserved.