Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index interface {
// Add inserts rowID for the given value into the index
Add(rowID uint32, value interface{}) error
// Remove removes rowID (and its associated value) from the index
Remove(rowID uint32) error
// Search returns all rowIDs matching the given value
Search(value interface{}) ([]uint32, error)
// Clear removes all entries
Clear() error
}
func NewBloomIndex ¶
func NewRoaringIndex ¶
func NewRoaringIndex() Index
NewRoaringIndex constructs a new Index backed by multiple Roaring bitmaps
func NewSortedIndex ¶
type IndexManager ¶
type IndexManager struct {
// contains filtered or unexported fields
}
func NewIndexManager ¶
func NewIndexManager(settings IndexSettings) *IndexManager
NewIndexManager creates a new index manager with the given settings
func (*IndexManager) CreateIndex ¶
func (im *IndexManager) CreateIndex(column string, strategy Strategy) error
CreateIndex instantiates a new index of the specified strategy for a given column
type IndexSettings ¶
Click to show internal directories.
Click to hide internal directories.