Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 2.64 KB

leveldb.md

File metadata and controls

81 lines (52 loc) · 2.64 KB

@wholebuzz/mapreduce / Exports / leveldb

Module: leveldb

Table of contents

Functions

Functions

combineWithLevelDb

combineWithLevelDb<Key, Value>(out: Item, leveldb: level.LevelDB | LevelUp, args: { combiner?: Reducer<Key, Value> ; configuration?: Configuration ; transform?: (value: Item) => Item }): Promise<void>

Type parameters

Name
Key
Value

Parameters

Name Type
out Item
leveldb level.LevelDB | LevelUp
args object
args.combiner? Reducer<Key, Value>
args.configuration? Configuration
args.transform? (value: Item) => Item

Returns: Promise<void>

Defined in: src/leveldb.ts:112


runMapPhaseWithLevelDb

runMapPhaseWithLevelDb<Key, Value>(mapper: Mapper<Key, Value>, combiner: Reducer<Key, Value> | undefined, args: MapReduceRuntimeConfig<Key, Value>, options: DatabaseCopyOptions): Promise<void>

Type parameters

Name
Key
Value

Parameters

Name Type
mapper Mapper<Key, Value>
combiner Reducer<Key, Value> | undefined
args MapReduceRuntimeConfig<Key, Value>
options DatabaseCopyOptions

Returns: Promise<void>

Defined in: src/leveldb.ts:31


streamFromCombinedLevelDb

streamFromCombinedLevelDb(leveldb: level.LevelDB | LevelUp): ReadableStreamTree

Parameters

Name Type
leveldb level.LevelDB | LevelUp

Returns: ReadableStreamTree

Defined in: src/leveldb.ts:168