public class HierarchicalCountReducer
extends <any>
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 |
reduce(Text key, java.lang.Iterable<LongWritable> values, Context context) |
void |
setup(Context context) |
public void reduce(Text key,
java.lang.Iterable<LongWritable> values,
Context context)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedException
public void setup(Context context)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.