public static interface InputSampler.Sampler<K,V>
InputFormat
.Modifier and Type | Method and Description |
---|---|
K[] |
getSample(InputFormat<K,V> inf,
Job job)
For a given job, collect and return a subset of the keys from the
input data.
|
K[] getSample(InputFormat<K,V> inf, Job job) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.