Package org.apache.sedona.core.showcase
Class Example
- java.lang.Object
-
- org.apache.sedona.core.showcase.Example
-
- All Implemented Interfaces:
Serializable
public class Example extends Object implements Serializable
The Class Example.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.spark.api.java.JavaSparkContextscThe sc.
-
Constructor Summary
Constructors Constructor Description Example()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)The main method.static voidtestDistanceJoinQuery()Test spatial join query.static voidtestDistanceJoinQueryUsingIndex()Test spatial join query using index.static voidtestLoadShapefileIntoPolygonRDD()static voidtestSpatialJoinQuery()Test spatial join query.static voidtestSpatialJoinQueryUsingIndex()Test spatial join query using index.static voidtestSpatialKnnQuery()Test spatial knn query.static voidtestSpatialKnnQueryUsingIndex()Test spatial knn query using index.static voidtestSpatialRangeQuery()Test spatial range query.static voidtestSpatialRangeQueryUsingIndex()Test spatial range query using index.
-
-
-
Method Detail
-
main
public static void main(String[] args)
The main method.- Parameters:
args- the arguments
-
testSpatialRangeQuery
public static void testSpatialRangeQuery() throws ExceptionTest spatial range query.- Throws:
Exception- the exception
-
testSpatialRangeQueryUsingIndex
public static void testSpatialRangeQueryUsingIndex() throws ExceptionTest spatial range query using index.- Throws:
Exception- the exception
-
testSpatialKnnQuery
public static void testSpatialKnnQuery() throws ExceptionTest spatial knn query.- Throws:
Exception- the exception
-
testSpatialKnnQueryUsingIndex
public static void testSpatialKnnQueryUsingIndex() throws ExceptionTest spatial knn query using index.- Throws:
Exception- the exception
-
testSpatialJoinQuery
public static void testSpatialJoinQuery() throws ExceptionTest spatial join query.- Throws:
Exception- the exception
-
testSpatialJoinQueryUsingIndex
public static void testSpatialJoinQueryUsingIndex() throws ExceptionTest spatial join query using index.- Throws:
Exception- the exception
-
testDistanceJoinQuery
public static void testDistanceJoinQuery() throws ExceptionTest spatial join query.- Throws:
Exception- the exception
-
testDistanceJoinQueryUsingIndex
public static void testDistanceJoinQueryUsingIndex() throws ExceptionTest spatial join query using index.- Throws:
Exception- the exception
-
-