docid

package
v1.25.22 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanObjectsLSM

func ScanObjectsLSM(store *lsmkv.Store, pointers []uint64, scan ObjectScanFn, properties []string) error

ScanObjectsLSM calls the provided scanFn on each object for the specified pointer. If a pointer does not resolve to an object-id, the item will be skipped. The number of times scanFn is called can therefore be smaller than the input length of pointers.

Types

type ObjectScanFn

type ObjectScanFn func(prop *models.PropertySchema, docID uint64) (bool, error)

ObjectScanFn is called once per object, if false or an error is returned, the scanning will stop

Jump to

Keyboard shortcuts

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