public class HierarchicalCountReducer
extends MapReduceBase
SpatialHierarchicalCountMapper and creates a different output for each hierarchy level. MultipleOutputs must have been configured for each hierarchy level using the layer's name as output name.| Constructor and Description |
|---|
HierarchicalCountReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(JobConf conf) |
void |
reduce(Text key, java.util.Iterator<LongWritable> values, <any> output, Reporter reporter) |
public void close()
throws java.io.IOException
java.io.IOExceptionpublic void configure(JobConf conf)
public void reduce(Text key,
java.util.Iterator<LongWritable> values,
<any> output,
Reporter reporter)
throws java.io.IOException
java.io.IOExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.