| 限定符和类型 | 方法和说明 |
|---|---|
static RowIDAllocator |
RowIDAllocator.create(long dbId,
TiTableInfo table,
TiConfiguration conf,
boolean unsigned,
long step) |
| 限定符和类型 | 方法和说明 |
|---|---|
TiTableInfo |
Catalog.getTable(String dbName,
String tableName) |
TiTableInfo |
Catalog.getTable(TiDBInfo database,
long tableId) |
TiTableInfo |
Catalog.getTable(TiDBInfo database,
String tableName) |
TiTableInfo |
Catalog.getTableFromCache(String dbName,
String tableName) |
TiTableInfo |
Catalog.getTableFromCache(TiDBInfo database,
String tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<TiTableInfo> |
Catalog.listTables(TiDBInfo database) |
List<TiTableInfo> |
Catalog.listTablesFromCache(TiDBInfo database) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Row |
TableCodec.decodeRow(byte[] value,
Handle handle,
TiTableInfo tableInfo) |
protected static Row |
TableCodecV2.decodeRow(byte[] value,
Handle handle,
TiTableInfo tableInfo) |
protected static Row |
TableCodecV1.decodeRow(byte[] value,
Handle handle,
TiTableInfo tableInfo) |
static byte[] |
TableCodec.genIndexValue(Row row,
Handle handle,
int commonHandleVersion,
boolean distinct,
TiIndexInfo tiIndexInfo,
TiTableInfo tiTableInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ColumnRef |
ColumnRef.create(String name,
TiTableInfo table) |
static List<TiPartitionDef> |
PartitionPruner.prune(TiTableInfo tableInfo,
List<Expression> filters)
When table is a partition table and its type is range.
|
void |
ColumnRef.resolve(TiTableInfo table) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
MetaResolver.resolve(Expression expression,
TiTableInfo table) |
static void |
MetaResolver.resolve(List<? extends Expression> expressions,
TiTableInfo table) |
| 构造器和说明 |
|---|
IndexRangeSetBuilder(TiTableInfo table,
TiIndexInfo index) |
MetaResolver(TiTableInfo table) |
| 限定符和类型 | 方法和说明 |
|---|---|
static IndexKey.EncodeIndexDataResult |
IndexKey.genIndexKey(long physicalID,
Row row,
TiIndexInfo indexInfo,
Handle handle,
TiTableInfo tableInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
TiTableInfo |
TiTableInfo.copyTableWithRowId() |
TiTableInfo |
TiDAGRequest.getTableInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<TiTableInfo> |
TiDBInfo.getTables() |
| 限定符和类型 | 方法和说明 |
|---|---|
static TiIndexInfo |
TiIndexInfo.generateFakePrimaryKeyIndex(TiTableInfo table) |
TiDAGRequest.Builder |
TiDAGRequest.Builder.setFullTableScan(TiTableInfo tableInfo) |
TiDAGRequest |
TiDAGRequest.setTableInfo(TiTableInfo tableInfo) |
TiDAGRequest.Builder |
TiDAGRequest.Builder.setTableInfo(TiTableInfo tableInfo) |
IndexInfo |
TiIndexInfo.toProto(TiTableInfo tableInfo) |
| 构造器和说明 |
|---|
TiDBInfo(long id,
CIStr name,
String charset,
String collate,
List<TiTableInfo> tables,
int schemaState) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected TiTableInfo |
AstBuilder.tableInfo |
| 限定符和类型 | 方法和说明 |
|---|---|
static TiParser |
TiParser.createParserForPartitionWrite(TiTableInfo tblInfo) |
| 构造器和说明 |
|---|
AstBuilder(TiTableInfo tableInfo) |
PartitionWriteAstBuilder(TiTableInfo tableInfo) |
TiParser(TiTableInfo tblInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
static PartitionExpression |
PartitionedTable.generatePartitionExpr(TiTableInfo tableInfo) |
static PartitionedTable |
PartitionedTable.newPartitionTable(TableCommon logicalTable,
TiTableInfo tableInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<Long,List<Coprocessor.KeyRange>> |
TiKVScanAnalyzer.buildTableScanKeyRange(TiTableInfo table,
List<IndexRange> indexRanges,
List<TiPartitionDef> prunedParts) |
TiDAGRequest |
TiKVScanAnalyzer.buildTiDAGReq(boolean allowIndexScan,
boolean useIndexScanFirst,
boolean canUseTiKV,
boolean canUseTiFlash,
List<TiColumnInfo> columnList,
List<Expression> conditions,
TiTableInfo table,
TableStatistics tableStatistics,
TiTimestamp ts,
TiDAGRequest dagRequest) |
TiDAGRequest |
TiKVScanAnalyzer.buildTiDAGReq(List<TiColumnInfo> columnList,
List<Expression> conditions,
TiTableInfo table,
TiTimestamp ts,
TiDAGRequest dagRequest) |
static List<IndexRange> |
PredicateUtils.expressionToIndexRanges(List<Expression> pointPredicates,
Optional<Expression> rangePredicate,
TiTableInfo table,
TiIndexInfo index)
Build index ranges from access points and access conditions
|
static ScanSpec |
TiKVScanAnalyzer.extractConditions(List<Expression> conditions,
TiTableInfo table,
TiIndexInfo index) |
| 构造器和说明 |
|---|
Builder(TiTableInfo table,
TiIndexInfo index) |
Copyright © 2022 PingCAP. All rights reserved.