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