package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

MakeDiskRowContainer creates a DiskRowContainer with the given engine as the underlying store that rows are stored on.
MakeHashMemRowContainer creates a HashMemRowContainer.
NewDiskBackedIndexedRowContainer creates a DiskBackedIndexedRowContainer with the given engine as the underlying store that rows are stored on when it spills to disk.
NewDiskBackedNumberedRowContainer creates a DiskBackedNumberedRowContainer.
NewHashDiskBackedRowContainer makes a HashDiskBackedRowContainer.
NewKVStreamerResultDiskBuffer return a new kvstreamer.ResultDiskBuffer that is backed by a disk row container.
NewRowContainer allocates a new row container.
NewRowContainerWithCapacity is like NewRowContainer, but it accepts a rowCapacity argument.

# Structs

AllRowsIterator iterates over all rows in HashDiskBackedRowContainer which should be initialized to not do marking.
DiskBackedIndexedRowContainer is a wrapper around DiskBackedRowContainer that adds an index to each row added in the order of addition of those rows by storing an extra int column at the end of each row.
DiskBackedNumberedRowContainer that stores a map from idx => row, where idx is a 0-based dense numbering.
DiskBackedRowContainer is a ReorderableRowContainer that uses a MemRowContainer to store rows and spills back to disk automatically if memory usage exceeds a given budget.
DiskRowContainer is a SortableRowContainer that stores rows on disk according to the ordering specified in DiskRowContainer.ordering.
HashDiskBackedRowContainer is a hashRowContainer that uses a HashMemRowContainer to store rows and spills to disk automatically if memory usage exceeds a given budget.
HashDiskRowContainer is an on-disk implementation of a HashRowContainer.
HashMemRowContainer is an in-memory implementation of a HashRowContainer.
IndexedRow is a row with a corresponding index.
MemRowContainer is the wrapper around rowcontainer.RowContainer that provides more functionality, especially around converting to/from EncDatumRows and facilitating sorting.
RowContainer is a container for rows of Datums which tracks the approximate amount of memory allocated for row data.

# Interfaces

DeDupingRowContainer is a container that de-duplicates rows added to the container, and assigns them a dense index starting from 0, representing when that row was first added.
HashRowContainer is a container used to store rows according to an encoding of given equality columns.
IndexedRowContainer is a ReorderableRowContainer which also implements tree.IndexedRows.
ReorderableRowContainer is a SortableRowContainer that can change the ordering on which the rows are sorted.
RowIterator is a simple iterator used to iterate over rows buffered in the SortableRowContainer.
RowMarkerIterator is a RowIterator that can be used to mark rows.
SortableRowContainer is a container used to store rows and optionally sort these.