Package org.apache.sedona.core.showcase
Class Example
java.lang.Object
org.apache.sedona.core.showcase.Example
- All Implemented Interfaces:
Serializable
The Class Example.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThe main method.static voidTest spatial join query.static voidTest spatial join query using index.static voidstatic voidTest spatial join query.static voidTest spatial join query using index.static voidTest spatial knn query.static voidTest spatial knn query using index.static voidTest spatial range query.static voidTest spatial range query using index.
-
Field Details
-
sc
public static org.apache.spark.api.java.JavaSparkContext scThe sc.
-
-
Constructor Details
-
Example
public Example()
-
-
Method Details
-
main
The main method.- Parameters:
args- the arguments
-
testSpatialRangeQuery
Test spatial range query.- Throws:
Exception- the exception
-
testSpatialRangeQueryUsingIndex
Test spatial range query using index.- Throws:
Exception- the exception
-
testSpatialKnnQuery
Test spatial knn query.- Throws:
Exception- the exception
-
testSpatialKnnQueryUsingIndex
Test spatial knn query using index.- Throws:
Exception- the exception
-
testSpatialJoinQuery
Test spatial join query.- Throws:
Exception- the exception
-
testSpatialJoinQueryUsingIndex
Test spatial join query using index.- Throws:
Exception- the exception
-
testDistanceJoinQuery
Test spatial join query.- Throws:
Exception- the exception
-
testDistanceJoinQueryUsingIndex
Test spatial join query using index.- Throws:
Exception- the exception
-
testLoadShapefileIntoPolygonRDD
- Throws:
Exception
-