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
Click to show internal directories.
Click to hide internal directories.