public class KMeansReducer extends org.apache.hadoop.mapreduce.Reducer<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable>
| Constructor and Description |
|---|
KMeansReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reduce(ClusterInfo key, java.lang.Iterable<RecordInfo> values, org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws java.io.IOException,
java.lang.InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable>java.io.IOExceptionjava.lang.InterruptedExceptionprotected void reduce(ClusterInfo key, java.lang.Iterable<RecordInfo> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable>java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.