| 程序包 | 说明 |
|---|---|
| com.pingcap.tikv.key | |
| com.pingcap.tikv.predicates | |
| com.pingcap.tikv.statistics |
| 构造器和说明 |
|---|
IndexScanKeyRangeBuilder(long id,
TiIndexInfo index,
IndexRange ir) |
StatisticsKeyRangeBuilder(IndexRange ir) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<IndexRange> |
PredicateUtils.expressionToIndexRanges(List<Expression> pointPredicates,
Optional<Expression> rangePredicate,
TiTableInfo table,
TiIndexInfo index)
Build index ranges from access points and access conditions
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<Long,List<Coprocessor.KeyRange>> |
TiKVScanAnalyzer.buildTableScanKeyRange(TiTableInfo table,
List<IndexRange> indexRanges,
List<TiPartitionDef> prunedParts) |
| 限定符和类型 | 方法和说明 |
|---|---|
double |
IndexStatistics.getRowCount(List<IndexRange> indexRanges) |
Copyright © 2022 PingCAP. All rights reserved.