程序包 | 说明 |
---|---|
org.apache.hadoop.mapred.lib |
Library of generally useful mappers, reducers, and partitioners.
|
限定符和类型 | 类和说明 |
---|---|
static class |
InputSampler.IntervalSampler<K,V>
Sample from s splits at regular intervals.
|
static class |
InputSampler.RandomSampler<K,V>
Sample from random points in the input.
|
static class |
InputSampler.SplitSampler<K,V>
Samples the first n records from s splits.
|
限定符和类型 | 方法和说明 |
---|---|
static <K,V> void |
InputSampler.writePartitionFile(JobConf job,
InputSampler.Sampler<K,V> sampler)
Write a partition file for the given job, using the Sampler provided.
|
Copyright © 2009 The Apache Software Foundation