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.JavaSparkContext
sc
The sc.
-
Constructor Summary
Constructors Constructor Description Example()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
The main method.static void
testDistanceJoinQuery()
Test spatial join query.static void
testDistanceJoinQueryUsingIndex()
Test spatial join query using index.static void
testLoadShapefileIntoPolygonRDD()
static void
testSpatialJoinQuery()
Test spatial join query.static void
testSpatialJoinQueryUsingIndex()
Test spatial join query using index.static void
testSpatialKnnQuery()
Test spatial knn query.static void
testSpatialKnnQueryUsingIndex()
Test spatial knn query using index.static void
testSpatialRangeQuery()
Test spatial range query.static void
testSpatialRangeQueryUsingIndex()
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 Exception
Test spatial range query.- Throws:
Exception
- the exception
-
testSpatialRangeQueryUsingIndex
public static void testSpatialRangeQueryUsingIndex() throws Exception
Test spatial range query using index.- Throws:
Exception
- the exception
-
testSpatialKnnQuery
public static void testSpatialKnnQuery() throws Exception
Test spatial knn query.- Throws:
Exception
- the exception
-
testSpatialKnnQueryUsingIndex
public static void testSpatialKnnQueryUsingIndex() throws Exception
Test spatial knn query using index.- Throws:
Exception
- the exception
-
testSpatialJoinQuery
public static void testSpatialJoinQuery() throws Exception
Test spatial join query.- Throws:
Exception
- the exception
-
testSpatialJoinQueryUsingIndex
public static void testSpatialJoinQueryUsingIndex() throws Exception
Test spatial join query using index.- Throws:
Exception
- the exception
-
testDistanceJoinQuery
public static void testDistanceJoinQuery() throws Exception
Test spatial join query.- Throws:
Exception
- the exception
-
testDistanceJoinQueryUsingIndex
public static void testDistanceJoinQueryUsingIndex() throws Exception
Test spatial join query using index.- Throws:
Exception
- the exception
-
-