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:
  • Field Details

    • sc

      public static org.apache.spark.api.java.JavaSparkContext sc
      The sc.
  • Constructor Details

    • Example

      public Example()
  • Method Details

    • 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
    • testLoadShapefileIntoPolygonRDD

      public static void testLoadShapefileIntoPolygonRDD() throws Exception
      Throws:
      Exception