I
- type of values returned by this inputpublic final class InMemoryInput<I> extends Input<I>
Constructor and Description |
---|
InMemoryInput(List<List<I>> input) |
Modifier and Type | Method and Description |
---|---|
List<? extends InputReader<I>> |
createReaders()
Returns a list of readers for this input.
|
getContext
public List<? extends InputReader<I>> createReaders()
Input
Input
's
responsibility to determine an appropriate number of readers to split into.
This could be specified by the user or determined algorithmically.
The number of input readers returned determines the number of map shards.createReaders
in class Input<I>
Copyright © 2015 Google. All rights reserved.