I
- the type of input values formally (but not actually) produced by
this inputpublic final class NoInput<I> extends Input<I>
Input
that does not produce any values.Constructor and Description |
---|
NoInput(int numShards) |
Modifier and Type | Method and Description |
---|---|
static <I> NoInput<I> |
create(int numShards) |
List<? extends InputReader<I>> |
createReaders()
Returns a list of readers for this input.
|
getContext
public static <I> NoInput<I> create(int numShards)
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.