# Functions
Compare compares the value with ad.
CopySelectedJoinRowsDirect directly copies the selected joined rows from the source Chunk to the destination Chunk.
CopySelectedJoinRowsWithSameOuterRows copies the selected joined rows from the source Chunk to the destination Chunk.
EstimateTypeWidth estimates the average width of values of the type.
GetCompareFunc gets a compare function for the field type.
GetFixedLen get the memory size of a fixed-length 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.
New creates a new chunk.
NewChunkWithCapacity creates a new chunk with field types and capacity.
NewCodec creates a new Codec object for encode or decode a Chunk.
NewColumn creates a new column with the specific length and capacity.
NewDecoder creates a new Decoder object for decode a Chunk.
NewIterator4Chunk returns a iterator for Chunk.
NewIterator4List returns a Iterator for List.
NewIterator4RowContainer create a new iterator for RowContainer.
NewIterator4RowPtr returns a Iterator for RowPtrs.
NewIterator4Slice returns a Iterator for Row slice.
NewList creates a new List with field types, init chunk size and max chunk size.
NewListInDisk creates a new ListInDisk with field types.
NewMultiIterator creates a new multiIterator.
NewPool creates a new Pool.
NewRowContainer creates a new RowContainer in memory.
NewSortedRowContainer creates a new SortedRowContainer in memory.
Renew creates a new Chunk based on an existing Chunk.
# Variables
ErrCannotAddBecauseSorted indicate that the SortedRowContainer is sorted and prohibit inserting data.
# Structs
Chunk stores multiple rows of data in Apache Arrow format.
Codec is used to: 1.
Column stores one column of data in Apache Arrow format.
Decoder decodes the data returned from the coprocessor and stores the result in Chunk.
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.
ListInDisk represents a slice of chunks storing in temporary disk.
Pool is the Column pool.
Row represents a row of data, can be used to access values.
RowContainer provides a place for many rows, so many that we might want to spill them into disk.
RowPtr is used to get a row from a list.
SortAndSpillDiskAction implements memory.ActionOnExceed for chunk.List.
SortedRowContainer provides a place for many rows, so many that we might want to sort and spill them into disk.
SpillDiskAction implements memory.ActionOnExceed for chunk.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.