public class Sampler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Sampler.Map |
static class |
Sampler.Reduce
The job of the reduce function is to change the key from NullWritableRnd
to NullWritable.
|
| Modifier and Type | Field and Description |
|---|---|
static long |
sizeOfLastProcessedFile
Keeps track of the (uncompressed) size of the last processed file or
directory.
|
| Constructor and Description |
|---|
Sampler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
sample(Path[] inputFiles,
ResultCollector<? extends TextSerializable> output,
OperationsParams params) |
public static long sizeOfLastProcessedFile
public static void sample(Path[] inputFiles,
ResultCollector<? extends TextSerializable> output,
OperationsParams params)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException