Package | Description |
---|---|
org.tikv.common.codec | |
org.tikv.common.expression | |
org.tikv.common.meta | |
org.tikv.common.predicates | |
org.tikv.common.statistics |
Modifier and Type | Method and Description |
---|---|
byte[] |
RowEncoderV2.encode(List<TiColumnInfo> columnInfos,
List<Object> values) |
protected static byte[] |
TableCodecV2.encodeRow(List<TiColumnInfo> columnInfos,
Object[] values,
boolean isPkHandle)
New Row Format: Reference
https://github.com/pingcap/tidb/blob/952d1d7541a8e86be0af58f5b7e3d5e982bab34e/docs/design/2018-07-19-row-format.md
|
protected static byte[] |
TableCodecV1.encodeRow(List<TiColumnInfo> columnInfos,
Object[] values,
boolean isPkHandle)
Row layout: colID1, value1, colID2, value2, .....
|
static byte[] |
TableCodec.encodeRow(List<TiColumnInfo> columnInfos,
Object[] values,
boolean isPkHandle,
boolean encodeWithNewRowFormat) |
Modifier and Type | Method and Description |
---|---|
static ColumnRef |
ColumnRef.create(String name,
TiColumnInfo columnInfo) |
Modifier and Type | Method and Description |
---|---|
TiColumnInfo |
TiTableInfo.getAutoIncrementColInfo() |
TiColumnInfo |
TiTableInfo.getColumn(int offset) |
TiColumnInfo |
TiTableInfo.getColumn(String name) |
TiColumnInfo |
TiTableInfo.getPKIsHandleColumn() |
Modifier and Type | Method and Description |
---|---|
List<TiColumnInfo> |
TiTableInfo.getColumns() |
Constructor and Description |
---|
TiTableInfo(long id,
CIStr name,
String charset,
String collate,
boolean pkIsHandle,
List<TiColumnInfo> columns,
List<TiIndexInfo> indices,
String comment,
long autoIncId,
long maxColumnId,
long maxIndexId,
long oldSchemaId,
TiPartitionInfo partitionInfo,
TiViewInfo viewInfo,
TiFlashReplicaInfo tiFlashReplicaInfo,
long version,
long updateTimestamp,
long maxShardRowIDBits,
TiSequenceInfo sequenceInfo) |
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) |
Modifier and Type | Method and Description |
---|---|
TiColumnInfo |
ColumnStatistics.getColumnInfo() |
Modifier and Type | Method and Description |
---|---|
void |
ColumnStatistics.setColumnInfo(TiColumnInfo columnInfo) |
Constructor and Description |
---|
ColumnStatistics(Histogram histogram,
CMSketch cmSketch,
long count,
TiColumnInfo columnInfo) |
Copyright © 2024 PingCAP. All rights reserved.