Modifier and Type | Method and Description |
---|---|
static List<TiRegion> |
TiBatchWriteUtils.getIndexRegions(TiSession session,
TiTableInfo table) |
static List<TiRegion> |
TiBatchWriteUtils.getRecordRegions(TiSession session,
TiTableInfo table) |
static List<TiRegion> |
TiBatchWriteUtils.getRegionByIndex(TiSession session,
TiTableInfo table,
TiIndexInfo index) |
static List<TiRegion> |
TiBatchWriteUtils.getRegionsByTable(TiSession session,
TiTableInfo table) |
Modifier and Type | Method and Description |
---|---|
TiTableInfo |
Catalog.getTable(String dbName,
String tableName) |
TiTableInfo |
Catalog.getTable(TiDBInfo database,
long tableId) |
TiTableInfo |
Catalog.getTable(TiDBInfo database,
String tableName) |
Modifier and Type | Method and Description |
---|---|
List<TiTableInfo> |
Catalog.listTables(TiDBInfo database) |
Modifier and Type | Method and Description |
---|---|
protected static Object[] |
TableCodecV2.decodeObjects(byte[] value,
Long handle,
TiTableInfo tableInfo) |
static Object[] |
TableCodec.decodeObjects(byte[] value,
Long handle,
TiTableInfo tableInfo) |
protected static Object[] |
TableCodecV1.decodeObjects(byte[] value,
Long handle,
TiTableInfo tableInfo) |
protected static Row |
TableCodecV2.decodeRow(byte[] value,
Long handle,
TiTableInfo tableInfo) |
static Row |
TableCodec.decodeRow(byte[] value,
Long handle,
TiTableInfo tableInfo) |
protected static Row |
TableCodecV1.decodeRow(byte[] value,
Long handle,
TiTableInfo tableInfo) |
Modifier and Type | Method and Description |
---|---|
static ColumnRef |
ColumnRef.create(String name,
TiTableInfo table) |
static List<TiPartitionDef> |
PartitionPruner.prune(TiTableInfo tableInfo,
List<Expression> filters) |
void |
ColumnRef.resolve(TiTableInfo table) |
Modifier and Type | Method and Description |
---|---|
static void |
MetaResolver.resolve(Expression expression,
TiTableInfo table) |
static void |
MetaResolver.resolve(List<? extends Expression> expressions,
TiTableInfo table) |
Constructor and Description |
---|
IndexRangeSetBuilder(TiTableInfo table,
TiIndexInfo index) |
MetaResolver(TiTableInfo table) |
Modifier and Type | Method and Description |
---|---|
static IndexKey.EncodeIndexDataResult |
IndexKey.encodeIndexDataValues(Row row,
List<TiIndexColumn> indexColumns,
long handle,
boolean appendHandleIfContainsNull,
TiTableInfo tableInfo) |
Modifier and Type | Method and Description |
---|---|
TiTableInfo |
TiTableInfo.copyTableWithRowId() |
TiTableInfo |
TiDAGRequest.getTableInfo() |
Modifier and Type | Method and Description |
---|---|
List<TiTableInfo> |
TiDBInfo.getTables() |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
TiDBInfo(long id,
CIStr name,
String charset,
String collate,
List<TiTableInfo> tables,
int schemaState) |
Constructor and Description |
---|
AstBuilder(TiTableInfo tableInfo) |
TiParser(TiTableInfo tblInfo) |
Modifier and Type | Method and Description |
---|---|
TiDAGRequest |
TiKVScanAnalyzer.buildTiDAGReq(boolean allowIndexScan,
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) |
Constructor and Description |
---|
Builder(TiTableInfo table,
TiIndexInfo index) |
Copyright © 2024 PingCAP. All rights reserved.