Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewComparableBTreeIndex ¶ added in v0.2.0
func NewComparableBTreeIndex[R record.Record, V record.LessComparable]( getter record.GetterInterface[R, V], maxChildren int, uniq bool, ) indexes.Index[R]
Types ¶
type Storage ¶
type Storage interface { indexes.Storage LessThan(key indexes.Key) (int, []storage.IDIterator) LessOrEqual(key indexes.Key) (int, []storage.IDIterator) GreaterThan(key indexes.Key) (int, []storage.IDIterator) GreaterOrEqual(key indexes.Key) (int, []storage.IDIterator) ForKey(key indexes.Key) (int, storage.IDIterator) All(callback func(key indexes.Key, records storage.IDStorage)) }
Click to show internal directories.
Click to hide internal directories.