public static class NNMapReduce.NNSimpleFeatureIDOutputReducer extends NNMapReduce.NNReducer<org.opengis.feature.simple.SimpleFeature,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,Boolean>
NNMapReduce.NNReducer.LocalDistanceProfileGenerateFn
distanceFn, distanceProfileFn, maxDistance, maxNeighbors, partitioner, serializationTool, typeConverter
Constructor and Description |
---|
NNSimpleFeatureIDOutputReducer() |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
createSummary() |
protected void |
processNeighbors(Partitioner.PartitionData partitionData,
ByteArray primaryId,
org.opengis.feature.simple.SimpleFeature primary,
NeighborList<org.opengis.feature.simple.SimpleFeature> neighbors,
org.apache.hadoop.mapreduce.Reducer.Context context,
Boolean summary) |
protected void |
processSummary(Partitioner.PartitionData partitionData,
Boolean summary,
org.apache.hadoop.mapreduce.Reducer.Context context)
Allow extended classes to do some final processing for the partition.
|
createNeighborsListFactory, createSetForNeighbors, preprocess, reduce, setup
protected void processNeighbors(Partitioner.PartitionData partitionData, ByteArray primaryId, org.opengis.feature.simple.SimpleFeature primary, NeighborList<org.opengis.feature.simple.SimpleFeature> neighbors, org.apache.hadoop.mapreduce.Reducer.Context context, Boolean summary) throws IOException, InterruptedException
processNeighbors
in class NNMapReduce.NNReducer<org.opengis.feature.simple.SimpleFeature,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,Boolean>
IOException
InterruptedException
protected Boolean createSummary()
createSummary
in class NNMapReduce.NNReducer<org.opengis.feature.simple.SimpleFeature,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,Boolean>
protected void processSummary(Partitioner.PartitionData partitionData, Boolean summary, org.apache.hadoop.mapreduce.Reducer.Context context)
NNMapReduce.NNReducer
processSummary
in class NNMapReduce.NNReducer<org.opengis.feature.simple.SimpleFeature,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,Boolean>
Copyright © 2013–2020. All rights reserved.