package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev

# Functions

MakeDiskBackedIndexedRowContainer creates a DiskBackedIndexedRowContainer with the given engine as the underlying store that rows are stored on when it spills to disk.
MakeDiskRowContainer creates a DiskRowContainer with the given engine as the underlying store that rows are stored on.
MakeHashDiskBackedRowContainer makes a HashDiskBackedRowContainer.
MakeHashDiskRowContainer creates a HashDiskRowContainer with the given engine as the underlying store that rows are stored on.
MakeHashMemRowContainer creates a HashMemRowContainer from the given rowContainer.
NewRowContainer allocates a new row container.

# Constants

SizeOfDatum is the memory size of a Datum reference.
SizeOfDatums is the memory size of a Datum slice.

# 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.
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

HashRowContainer is a container used to store rows according to an encoding of given equality columns.
ReorderableRowContainer is a SortableRowContainer that can change the ordering on which the rows are sorted.
RowIterator is a simple iterator used to iterate over sqlbase.EncDatumRows.
RowMarkerIterator is a RowIterator that can be used to mark rows.
SortableRowContainer is a container used to store rows and optionally sort these.