package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

FieldTypeFromModelColumn creates a types.FieldType from model.ColumnInfo.
IsNewFormat checks whether row data is in new-format.
IsRowKey determine whether key is row key.
NewByteDecoder creates a BytesDecoder.
NewChunkDecoder creates a NewChunkDecoder.
NewDatumMapDecoder creates a DatumMapDecoder.
NewDecoder creates a decoder.
RemoveKeyspacePrefix is used to remove keyspace prefix from the key.

# Constants

First byte in the encoded value which specifies the encoding type.
CodecVer is the constant number that represent the new row format.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.
First byte in the encoded value which specifies the encoding type.

# Structs

BytesDecoder decodes the row to old datums bytes.
ChunkDecoder decodes the row to chunk.Chunk.
ColData combines the column info as well as its datum.
ColInfo is used as column meta info for row decoder.
DatumMapDecoder decodes the row to datum map.
Encoder is used to encode a row.
NoChecksum indicates no checksum is encoded into the returned raw bytes.
RawChecksum indicates encode the raw bytes checksum and append it to the raw bytes.
RowData is a list of ColData for row checksum calculation.

# Interfaces

Checksum is used to calculate and append checksum data into the raw bytes.