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

# Functions

NewHashTable returns a new HashTable.
NewTupleHashDistributor returns a new TupleHashDistributor.

# Constants

DefaultInitHashValue is the default initValue to be used in initHash function.
HashTableDefaultProbeMode is the default probing mode of the HashTable.
HashTableDeletingProbeMode is the mode of probing the HashTable in which it "deletes" the tuples from itself once they are matched against probing tuples.
HashTableDistinctBuildMode is the mode where HashTable only buffers distinct tuples and discards the duplicates.
HashTableFullBuildMode is the mode where HashTable buffers all input tuples and populates First and Next arrays for each hash bucket.

# Structs

HashTable is a structure used by the hash joiner, the hash aggregator, and the unordered distinct in order to perform the equality checks and de-duplication.
TupleHashDistributor is a helper struct that distributes tuples from batches according to the corresponding hashes.

# Type aliases

HashTableBuildMode represents different modes in which the HashTable can be built.
HashTableProbeMode represents different modes of probing the HashTable.