public class Example extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
static org.apache.spark.api.java.JavaSparkContext | 
sc
The sc. 
 | 
| Constructor and Description | 
|---|
Example()  | 
| Modifier and Type | Method and 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. 
 | 
public static void main(String[] args)
args - the argumentspublic static void testSpatialRangeQuery()
                                  throws Exception
Exception - the exceptionpublic static void testSpatialRangeQueryUsingIndex()
                                            throws Exception
Exception - the exceptionpublic static void testSpatialKnnQuery()
                                throws Exception
Exception - the exceptionpublic static void testSpatialKnnQueryUsingIndex()
                                          throws Exception
Exception - the exceptionpublic static void testSpatialJoinQuery()
                                 throws Exception
Exception - the exceptionpublic static void testSpatialJoinQueryUsingIndex()
                                           throws Exception
Exception - the exceptionpublic static void testDistanceJoinQuery()
                                  throws Exception
Exception - the exceptionpublic static void testDistanceJoinQueryUsingIndex()
                                            throws Exception
Exception - the exceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.