public class KNNQuery extends Object implements Serializable
| Constructor and Description |
|---|
KNNQuery() |
| Modifier and Type | Method and Description |
|---|---|
static List<com.vividsolutions.jts.geom.LineString> |
SpatialKnnQuery(LineStringRDD spatialRDD,
com.vividsolutions.jts.geom.Point originalQueryWindow,
Integer k,
boolean useIndex)
Spatial knn query.
|
static List<com.vividsolutions.jts.geom.Point> |
SpatialKnnQuery(PointRDD spatialRDD,
com.vividsolutions.jts.geom.Point originalQueryWindow,
Integer k,
boolean useIndex)
Spatial knn query.
|
static List<com.vividsolutions.jts.geom.Polygon> |
SpatialKnnQuery(PolygonRDD spatialRDD,
com.vividsolutions.jts.geom.Point originalQueryWindow,
Integer k,
boolean useIndex)
Spatial knn query.
|
static List<com.vividsolutions.jts.geom.Polygon> |
SpatialKnnQuery(RectangleRDD spatialRDD,
com.vividsolutions.jts.geom.Point originalQueryWindow,
Integer k,
boolean useIndex)
Spatial knn query.
|
public static List<com.vividsolutions.jts.geom.Point> SpatialKnnQuery(PointRDD spatialRDD, com.vividsolutions.jts.geom.Point originalQueryWindow, Integer k, boolean useIndex)
spatialRDD - the spatial RDDoriginalQueryWindow - the original query windowk - the kuseIndex - the use indexpublic static List<com.vividsolutions.jts.geom.Polygon> SpatialKnnQuery(RectangleRDD spatialRDD, com.vividsolutions.jts.geom.Point originalQueryWindow, Integer k, boolean useIndex)
spatialRDD - the spatial RDDoriginalQueryWindow - the original query windowk - the kuseIndex - the use indexpublic static List<com.vividsolutions.jts.geom.Polygon> SpatialKnnQuery(PolygonRDD spatialRDD, com.vividsolutions.jts.geom.Point originalQueryWindow, Integer k, boolean useIndex)
spatialRDD - the spatial RDDoriginalQueryWindow - the original query windowk - the kuseIndex - the use indexpublic static List<com.vividsolutions.jts.geom.LineString> SpatialKnnQuery(LineStringRDD spatialRDD, com.vividsolutions.jts.geom.Point originalQueryWindow, Integer k, boolean useIndex)
spatialRDD - the spatial RDDoriginalQueryWindow - the original query windowk - the kuseIndex - the use indexCopyright © 2017. All rights reserved.