public static final class KMeans.TupleCentroidConverter extends Object implements MapFunction<Tuple3<Integer,Double,Double>,KMeans.Centroid>
Constructor and Description |
---|
TupleCentroidConverter() |
public KMeans.Centroid map(Tuple3<Integer,Double,Double> t) throws Exception
map
in interface MapFunction<Tuple3<Integer,Double,Double>,KMeans.Centroid>
Exception
Copyright © 2015 The Apache Software Foundation. All rights reserved.