public final class RandomLongInput extends Input<Long>
Constructor and Description |
---|
RandomLongInput(long valuesTotal,
int shardCount) |
Modifier and Type | Method and Description |
---|---|
List<? extends InputReader<Long>> |
createReaders()
Returns a list of readers for this input.
|
RandomLongInput |
setSeed(long seed) |
String |
toString() |
getContext
public RandomLongInput setSeed(long seed)
public List<? extends InputReader<Long>> 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<Long>
Copyright © 2015 Google. All rights reserved.