public static final class KMeans.CentroidAverager extends Object implements MapFunction<Tuple3<Integer,KMeans.Point,Long>,KMeans.Centroid>
Constructor and Description |
---|
CentroidAverager() |
Modifier and Type | Method and Description |
---|---|
KMeans.Centroid |
map(Tuple3<Integer,KMeans.Point,Long> value)
The mapping method.
|
public KMeans.Centroid map(Tuple3<Integer,KMeans.Point,Long> value)
MapFunction
map
in interface MapFunction<Tuple3<Integer,KMeans.Point,Long>,KMeans.Centroid>
value
- The input value.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.