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 SummaryFields Modifier and Type Field Description static org.apache.spark.api.java.JavaSparkContextscThe sc.
 - 
Constructor SummaryConstructors Constructor Description Example()
 - 
Method SummaryAll 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- 
mainpublic static void main(String[] args) The main method.- Parameters:
- args- the arguments
 
 - 
testSpatialRangeQuerypublic static void testSpatialRangeQuery() throws ExceptionTest spatial range query.- Throws:
- Exception- the exception
 
 - 
testSpatialRangeQueryUsingIndexpublic static void testSpatialRangeQueryUsingIndex() throws ExceptionTest spatial range query using index.- Throws:
- Exception- the exception
 
 - 
testSpatialKnnQuerypublic static void testSpatialKnnQuery() throws ExceptionTest spatial knn query.- Throws:
- Exception- the exception
 
 - 
testSpatialKnnQueryUsingIndexpublic static void testSpatialKnnQueryUsingIndex() throws ExceptionTest spatial knn query using index.- Throws:
- Exception- the exception
 
 - 
testSpatialJoinQuerypublic static void testSpatialJoinQuery() throws ExceptionTest spatial join query.- Throws:
- Exception- the exception
 
 - 
testSpatialJoinQueryUsingIndexpublic static void testSpatialJoinQueryUsingIndex() throws ExceptionTest spatial join query using index.- Throws:
- Exception- the exception
 
 - 
testDistanceJoinQuerypublic static void testDistanceJoinQuery() throws ExceptionTest spatial join query.- Throws:
- Exception- the exception
 
 - 
testDistanceJoinQueryUsingIndexpublic static void testDistanceJoinQueryUsingIndex() throws ExceptionTest spatial join query using index.- Throws:
- Exception- the exception
 
 
- 
 
-