Documentation
¶
Index ¶
Constants ¶
View Source
const (
BTreeDegree = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ART ¶
type ART struct {
// contains filtered or unexported fields
}
func (*ART) Iterator ¶
func (art *ART) Iterator(opt IteratorOpt) Iterator
type BTree ¶
type BTree struct {
// contains filtered or unexported fields
}
func (*BTree) Iterator ¶
func (bt *BTree) Iterator(opt IteratorOpt) Iterator
type Indexer ¶
type Indexer interface {
Put(key K, loc Loc) Loc
Get(key K) Loc
Delete(key K) (Loc, bool)
Iterator(opt IteratorOpt) Iterator
Size() int
}
Indexer is the interface for in-memory index.
func NewIndexer ¶
type IteratorOpt ¶
type Skiplist ¶
type Skiplist struct {
// contains filtered or unexported fields
}
func NewSkiplist ¶
func NewSkiplist() *Skiplist
func (*Skiplist) Iterator ¶
func (sl *Skiplist) Iterator(opt IteratorOpt) Iterator
Click to show internal directories.
Click to hide internal directories.