K_IN
- The type of the input keysV_IN
- The type of the input valuespublic class KMeansCommonMapper<K_IN,V_IN> extends java.lang.Object implements oracle.spatial.hadoop.vector.common.RecordManagedMapper<K_IN,V_IN,ClusterInfo,RecordInfo>
Constructor and Description |
---|
KMeansCommonMapper() |
Modifier and Type | Method and Description |
---|---|
void |
init(oracle.spatial.hadoop.vector.common.CommonContext context) |
void |
map(oracle.spatial.hadoop.vector.common.RecordManagedMapperContext<K_IN,V_IN,ClusterInfo,RecordInfo> context) |
public void init(oracle.spatial.hadoop.vector.common.CommonContext context)
init
in interface oracle.spatial.hadoop.vector.common.CommonMapper<oracle.spatial.hadoop.vector.common.RecordManagedMapperContext<K_IN,V_IN,ClusterInfo,RecordInfo>,K_IN,V_IN,ClusterInfo,RecordInfo>
public void map(oracle.spatial.hadoop.vector.common.RecordManagedMapperContext<K_IN,V_IN,ClusterInfo,RecordInfo> context) throws java.io.IOException, java.lang.InterruptedException
map
in interface oracle.spatial.hadoop.vector.common.CommonMapper<oracle.spatial.hadoop.vector.common.RecordManagedMapperContext<K_IN,V_IN,ClusterInfo,RecordInfo>,K_IN,V_IN,ClusterInfo,RecordInfo>
java.io.IOException
java.lang.InterruptedException
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.