Package | Description |
---|---|
org.apache.hadoop.mapred.lib | |
org.apache.hadoop.mapreduce.lib.partition |
Modifier and Type | Interface and Description |
---|---|
static interface |
InputSampler.Sampler<K,V>
Interface to sample using an
InputFormat . |
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> void |
InputSampler.writePartitionFile(Job job,
InputSampler.Sampler<K,V> sampler)
Write a partition file for the given job, using the Sampler provided.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.