@wholebuzz/mapreduce / Exports / leveldb
▸ combineWithLevelDb<Key, Value>(out
: Item, leveldb
: level.LevelDB | LevelUp, args
: { combiner?
: Reducer<Key, Value> ; configuration?
: Configuration ; transform?
: (value
: Item) => Item }): Promise<void>
Name |
---|
Key |
Value |
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<Key, Value>(mapper
: Mapper<Key, Value>, combiner
: Reducer<Key, Value> | undefined, args
: MapReduceRuntimeConfig<Key, Value>, options
: DatabaseCopyOptions): Promise<void>
Name |
---|
Key |
Value |
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(leveldb
: level.LevelDB | LevelUp): ReadableStreamTree
Name | Type |
---|---|
leveldb |
level.LevelDB | LevelUp |
Returns: ReadableStreamTree
Defined in: src/leveldb.ts:168