Documentation ¶
Index ¶
- type CompactCallback
- type CompactStats
- type Node
- type Option
- type Options
- type PartStore
- func (p *PartStore) Add(r *RecordPart)
- func (p *PartStore) Compact(f func(r arrow.Record)) (stats CompactStats)
- func (p *PartStore) Release()
- func (p *PartStore) Reset()
- func (p *PartStore) Scan(start, end int64, compiled []*filters.CompiledFilter, projected []string) arrow.Record
- func (p *PartStore) Size() uint64
- type RecordNode
- type RecordPart
- type RecordSource
- type Tree
- func (lsm *Tree) Add(r arrow.Record) error
- func (lsm *Tree) Compact(onCompact CompactCallback)
- func (lsm *Tree) Restore(source RecordSource) error
- func (lsm *Tree) Scan(ctx context.Context, start, end int64, fs *v1.Filters) (arrow.Record, error)
- func (lsm *Tree) Size() uint64
- func (lsm *Tree) Start(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompactCallback ¶
type CompactStats ¶
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func DefaultLSMOptions ¶
func DefaultLSMOptions() Options
type PartStore ¶
type PartStore struct {
// contains filtered or unexported fields
}
PartStore is in memory storage of parts
func NewPartStore ¶
func (*PartStore) Add ¶
func (p *PartStore) Add(r *RecordPart)
func (*PartStore) Compact ¶
func (p *PartStore) Compact(f func(r arrow.Record)) (stats CompactStats)
type RecordNode ¶
type RecordPart ¶
func (*RecordPart) ID ¶
func (r *RecordPart) ID() string
func (*RecordPart) Record ¶
func (r *RecordPart) Record() arrow.Record
func (*RecordPart) Release ¶
func (r *RecordPart) Release()
func (*RecordPart) Size ¶
func (r *RecordPart) Size() uint64
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
func (*Tree) Compact ¶
func (lsm *Tree) Compact(onCompact CompactCallback)
func (*Tree) Restore ¶
func (lsm *Tree) Restore(source RecordSource) error
Click to show internal directories.
Click to hide internal directories.