package
1.1.0-beta
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev

# Functions

GetCompareFunc gets a compare function for the field type.
MutRowFromDatums creates a MutRow from a datum slice.
MutRowFromTypes creates a MutRow from a FieldType slice, each column is initialized to zero value.
MutRowFromValues creates a MutRow from a interface slice.
NewChunk creates a new chunk with field types.
NewChunkWithCapacity creates a new chunk with field types and capacity.
NewIterator4Chunk returns a iterator for Chunk.
NewIterator4List returns a Iterator for List.
NewIterator4RowPtr returns a Iterator for RowPtrs.
NewIterator4Slice returns a Iterator for Row slice.
NewList creates a new List with field types and max chunk size.

# Constants

Capacity constants.

# Structs

Chunk stores multiple rows of data in Apache Arrow format.
Iterator4Chunk is used to iterate rows inside a chunk.
List holds a slice of chunks, use to append rows with max chunk size properly handled.
Row represents a row of data, can be used to assess values.
RowPtr is used to get a row from a list.

# Interfaces

Iterator is used to iterate a number of rows.

# Type aliases

CompareFunc is a function to compare the two values in Row, the two columns must have the same type.
ListWalkFunc is used to walk the list.
MutRow represents a mutable Row.