public class Aggregate
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Aggregate.Map |
static class |
Aggregate.MinMax
A structure to hold the minimum and maximum values for aggregation.
|
static class |
Aggregate.Reduce |
| Constructor and Description |
|---|
Aggregate() |
| Modifier and Type | Method and Description |
|---|---|
static Aggregate.MinMax |
aggregate(Path[] inFiles,
OperationsParams params)
Computes the minimum and maximum values of readings in input.
|
static Aggregate.MinMax |
aggregateMapReduce(Path[] files,
OperationsParams params)
Counts the exact number of lines in a file by issuing a MapReduce job
that does the thing
|
static void |
main(java.lang.String[] args) |
public static Aggregate.MinMax aggregateMapReduce(Path[] files, OperationsParams params) throws java.io.IOException
conf - fs - file - java.io.IOExceptionpublic static Aggregate.MinMax aggregate(Path[] inFiles, OperationsParams params) throws java.io.IOException
inFiles - - A list of input files.plotRange - - The spatial range to plotforceCompute - - Ignore any preset values and force computation of
the aggregate functions.java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
args - java.io.IOException