aggregator

package
v1.18.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanAll

func ScanAll(tx *bolt.Tx, scan docid.ObjectScanFn) error

ScanAll iterates over every row in the object buckets TODO: where should this live?

func ScanAllLSM

func ScanAllLSM(store *lsmkv.Store, scan docid.ObjectScanFn) error

ScanAllLSM iterates over every row in the object buckets

Types

type Aggregator

type Aggregator struct {
	// contains filtered or unexported fields
}

func New

func New(store *lsmkv.Store, params aggregation.Params,
	getSchema schemaUC.SchemaGetter, cache *inverted.RowCacher,
	classSearcher inverted.ClassSearcher,
	deletedDocIDs inverted.DeletedDocIDChecker, stopwords stopwords.StopwordDetector,
	shardVersion uint16, vectorIndex vectorIndex, logger logrus.FieldLogger,
	propLengths *inverted.PropertyLengthTracker,
) *Aggregator

func (*Aggregator) Do

type ShardCombiner

type ShardCombiner struct{}

func NewShardCombiner

func NewShardCombiner() *ShardCombiner

func (*ShardCombiner) Do

func (sc *ShardCombiner) Do(results []*aggregation.Result) *aggregation.Result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL