public class KMeansCommonReducer extends java.lang.Object implements oracle.spatial.hadoop.vector.common.CommonReducer<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable>
Constructor and Description |
---|
KMeansCommonReducer() |
Modifier and Type | Method and Description |
---|---|
void |
init(oracle.spatial.hadoop.vector.common.CommonContext context) |
void |
reduce(oracle.spatial.hadoop.vector.common.CommonReducerContext<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable> context) |
public void init(oracle.spatial.hadoop.vector.common.CommonContext context)
init
in interface oracle.spatial.hadoop.vector.common.CommonReducer<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable>
public void reduce(oracle.spatial.hadoop.vector.common.CommonReducerContext<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable> context) throws java.io.IOException, java.lang.InterruptedException
reduce
in interface oracle.spatial.hadoop.vector.common.CommonReducer<ClusterInfo,RecordInfo,ClusterInfo,org.apache.hadoop.io.NullWritable>
java.io.IOException
java.lang.InterruptedException
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.