Hello all, Suppose I have the datastream as: DataStream<Tuple2<String,Point>> *newCentroids*;
How to get collection of *newCentroids * to be able to loop as below:
private Collection<Tuple2<String,Point>> *centroids*;
for (Centroid cent : *centroids*) {
}
Best Regards,
Subash Basnet
