Documentation ¶
Overview ¶
Package index defines common interface and errors for indexing implementations to use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrKeyNotFound should be returned from lookup operations when the // lookup key is not found in index/store. ErrKeyNotFound = errors.New("key not found") // ErrKeyTooLarge is returned by index implementations when a key is // larger than a configured limit if any. ErrKeyTooLarge = errors.New("key is too large") // ErrEmptyKey should be returned by backends when an operation is // requested with an empty key. ErrEmptyKey = errors.New("empty key") // ErrImmutable should be returned by backends when write operation // (put/del) is attempted on a readonly. ErrImmutable = errors.New("operation not allowed in read-only mode") )
Functions ¶
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package bptree implements an on-disk B+ tree indexing scheme that can store key-value pairs and provide fast lookups and range scans.
|
Package bptree implements an on-disk B+ tree indexing scheme that can store key-value pairs and provide fast lookups and range scans. |
Click to show internal directories.
Click to hide internal directories.