public class KDEReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.LongWritable,GeoWaveOutputKey,org.opengis.coverage.grid.GridCoverage>
Modifier and Type | Field and Description |
---|---|
protected String |
crsCode |
protected List<String> |
indexList |
protected static double[] |
MAXES_PER_BAND |
protected static double[] |
MINS_PER_BAND |
protected static String[] |
NAME_PER_BAND |
static int |
NUM_BANDS |
protected double |
prevPct |
protected double |
prevValue |
protected GaussianFilter.ValueRange[] |
valueRangePerDimension |
Constructor and Description |
---|
KDEReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(org.apache.hadoop.io.DoubleWritable key,
Iterable<org.apache.hadoop.io.LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
public static final int NUM_BANDS
protected static final String[] NAME_PER_BAND
protected static final double[] MINS_PER_BAND
protected static final double[] MAXES_PER_BAND
protected GaussianFilter.ValueRange[] valueRangePerDimension
protected String crsCode
protected double prevValue
protected double prevPct
protected void reduce(org.apache.hadoop.io.DoubleWritable key, Iterable<org.apache.hadoop.io.LongWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.LongWritable,GeoWaveOutputKey,org.opengis.coverage.grid.GridCoverage>
IOException
InterruptedException
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.LongWritable,GeoWaveOutputKey,org.opengis.coverage.grid.GridCoverage>
IOException
InterruptedException
Copyright © 2013–2022. All rights reserved.