Documentation
¶
Index ¶
- func NewEnum16BTreeIndex(getter record.Enum16Getter, maxChildren int, uniq bool) indexes.Index
- func NewEnum8BTreeIndex(getter record.Enum8Getter, maxChildren int, uniq bool) indexes.Index
- func NewIndex(field record.Field, compute indexes.IndexComputer, btree Storage, unique bool) indexes.Index
- func NewInt32BTreeIndex(getter record.Int32Getter, maxChildren int, uniq bool) indexes.Index
- func NewInt64BTreeIndex(getter record.Int64Getter, maxChildren int, uniq bool) indexes.Index
- func NewIntBTreeIndex(getter record.IntGetter, maxChildren int, uniq bool) indexes.Index
- func NewStringBTreeIndex(getter record.StringGetter, maxChildren int, uniq bool) indexes.Index
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnum16BTreeIndex ¶
func NewEnum8BTreeIndex ¶
func NewInt32BTreeIndex ¶
func NewInt64BTreeIndex ¶
func NewIntBTreeIndex ¶
func NewStringBTreeIndex ¶
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(func(key indexes.Key, records storage.IDStorage)) }
Click to show internal directories.
Click to hide internal directories.