Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotRangeOperation = errors.New("this is not an range operation") ErrEmptyTree = errors.New("tree is empty") )
View Source
var DefaultLower = convert.Uint64ToBytes(0)
View Source
var DefaultUpper = convert.Uint64ToBytes(math.MaxUint64)
View Source
var ErrMalformed = errors.New("the data is malformed")
Functions ¶
This section is empty.
Types ¶
type CompositePostingValueFn ¶
type CompositePostingValueFn = func(term, value []byte, delegated kv.Iterator) (*PostingValue, error)
type Condition ¶
type Condition map[FieldKey][]ConditionValue
type ConditionValue ¶
type ConditionValue struct {
Values [][]byte
Op modelv1.Condition_BinaryOp
}
type FieldIterable ¶
type FieldIterator ¶
type FieldIterator interface {
Next() bool
Val() *PostingValue
Close() error
}
func NewMergedIterator ¶
func NewMergedIterator(merged []FieldIterator, fn SwitchFn) FieldIterator
type FieldIteratorTemplate ¶
type FieldIteratorTemplate struct {
// contains filtered or unexported fields
}
func (*FieldIteratorTemplate) Close ¶
func (f *FieldIteratorTemplate) Close() error
func (*FieldIteratorTemplate) Next ¶
func (f *FieldIteratorTemplate) Next() bool
func (*FieldIteratorTemplate) Val ¶
func (f *FieldIteratorTemplate) Val() *PostingValue
type PostingValue ¶
type Store ¶
type Store interface {
observability.Observable
io.Closer
Writer
Searcher
// Flush flushed memory data to disk
Flush() error
}
Click to show internal directories.
Click to hide internal directories.