Class InputSampler<K,V>

All Implemented Interfaces:
Configurable, Tool

@Public @Stable public class InputSampler<K,V> extends InputSampler<K,V>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    org.apache.hadoop.mapred.lib.InputSampler.IntervalSampler<K,V>
    Sample from s splits at regular intervals.
    static class 
    org.apache.hadoop.mapred.lib.InputSampler.RandomSampler<K,V>
    Sample from random points in the input.
    static interface 
    org.apache.hadoop.mapred.lib.InputSampler.Sampler<K,V>
    Interface to sample using an InputFormat.
    static class 
    org.apache.hadoop.mapred.lib.InputSampler.SplitSampler<K,V>
    Samples the first n records from s splits.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <K, V> void
    writePartitionFile(JobConf job, org.apache.hadoop.mapred.lib.InputSampler.Sampler<K,V> sampler)
     

    Methods inherited from class org.apache.hadoop.mapreduce.lib.partition.InputSampler

    main, run, writePartitionFile

    Methods inherited from class org.apache.hadoop.conf.Configured

    getConf, setConf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.conf.Configurable

    getConf, setConf