public class KnnJudgementUsingIndex<U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry> extends Object implements org.apache.spark.api.java.function.FlatMapFunction<Iterator<org.locationtech.jts.index.SpatialIndex>,T>, Serializable
| Constructor and Description | 
|---|
KnnJudgementUsingIndex(U queryCenter,
                      int k)
Instantiates a new knn judgement using index. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Iterator<T> | 
call(Iterator<org.locationtech.jts.index.SpatialIndex> treeIndexes)  | 
public KnnJudgementUsingIndex(U queryCenter, int k)
queryCenter - the query centerk - the kCopyright © 2023 The Apache Software Foundation. All rights reserved.