@InterfaceAudience.Public @InterfaceStability.Stable public class InputSampler<K,V> extends InputSampler<K,V>
InputSampler.IntervalSampler<K,V>, InputSampler.RandomSampler<K,V>, InputSampler.Sampler<K,V>, InputSampler.SplitSampler<K,V>
Constructor and Description |
---|
InputSampler(JobConf conf) |
Modifier and Type | Method and Description |
---|---|
static <K,V> void |
writePartitionFile(JobConf job,
InputSampler.Sampler<K,V> sampler) |
main, run, writePartitionFile
public InputSampler(JobConf conf)
public static <K,V> void writePartitionFile(JobConf job, InputSampler.Sampler<K,V> sampler) throws IOException, ClassNotFoundException, InterruptedException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.