- Type Parameters:
K_IN
- The type of the input keys
V_IN
- The type of the input values
- All Implemented Interfaces:
- oracle.spatial.hadoop.vector.common.CommonMapper<oracle.spatial.hadoop.vector.common.RecordManagedMapperContext<K_IN,V_IN,ClusterInfo,RecordInfo>,K_IN,V_IN,ClusterInfo,RecordInfo>, oracle.spatial.hadoop.vector.common.RecordManagedMapper<oracle.spatial.hadoop.vector.common.RecordManagedMapperContext<K_IN,V_IN,ClusterInfo,RecordInfo>,K_IN,V_IN,ClusterInfo,RecordInfo>
public class KMeansCommonMapper<K_IN,V_IN>
extends java.lang.Object
implements oracle.spatial.hadoop.vector.common.RecordManagedMapper<oracle.spatial.hadoop.vector.common.RecordManagedMapperContext<K_IN,V_IN,ClusterInfo,RecordInfo>,K_IN,V_IN,ClusterInfo,RecordInfo>
Maps each input record to its closest cluster center.