org.apache.hadoop.hbase.mapreduce.hadoopbackport
Interface InputSampler.Sampler<K,V>
- All Known Implementing Classes:
- InputSampler.IntervalSampler, InputSampler.RandomSampler, InputSampler.SplitSampler
- Enclosing class:
- InputSampler<K,V>
public static interface InputSampler.Sampler<K,V>
Interface to sample using an
InputFormat.
|
Method Summary |
K[] |
getSample(org.apache.hadoop.mapreduce.InputFormat<K,V> inf,
org.apache.hadoop.mapreduce.Job job)
For a given job, collect and return a subset of the keys from the
input data. |
getSample
K[] getSample(org.apache.hadoop.mapreduce.InputFormat<K,V> inf,
org.apache.hadoop.mapreduce.Job job)
throws java.io.IOException,
java.lang.InterruptedException
- For a given job, collect and return a subset of the keys from the
input data.
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.