Class KnnJudgementUsingIndex<U extends org.locationtech.jts.geom.Geometry,T extends org.locationtech.jts.geom.Geometry>
java.lang.Object
org.apache.sedona.core.knnJudgement.KnnJudgementUsingIndex<U,T>
- All Implemented Interfaces:
Serializable,org.apache.spark.api.java.function.FlatMapFunction<Iterator<org.locationtech.jts.index.SpatialIndex>,T>
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
The Class KnnJudgementUsingIndex.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKnnJudgementUsingIndex(U queryCenter, int k) Instantiates a new knn judgement using index. -
Method Summary
-
Constructor Details
-
KnnJudgementUsingIndex
Instantiates a new knn judgement using index.- Parameters:
queryCenter- the query centerk- the k
-
-
Method Details
-
call
-