package
2.1.0-beta+incompatible
Repository: https://github.com/darkliquid/tidb.git
Documentation: pkg.go.dev
# Functions
CanSkip is for these cases, we can skip the columns in encoded row: 1.
CheckHandleExists check whether recordID key exists.
CreateVirtualTable as its name.
DecodeHandle decodes handle in data.
DecodeRawRowData decodes raw row data into a datum slice and a (columnID:columnValue) map.
EncodeHandle encodes handle in data.
FindIndexByColName implements table.Table FindIndexByColName interface.
GetColDefaultValue gets a column default value.
MemoryTableFromMeta creates a Table instance from model.TableInfo.
MockTableFromMeta only serves for test.
NewIndex builds a new Index object.
TableFromMeta creates a Table instance from model.TableInfo.
# Structs
MemoryTable implements table.Table interface.
PartitionExpr is the partition definition expressions.
Table implements table.Table interface.
VirtualTable stands for the fake table all its data is in the memory.
# Interfaces
VirtualDataSource is used to extract data from the struct in memory.