Class Example

    • Field Detail

      • sc

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

      • Example

        public Example()
    • 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
      • testLoadShapefileIntoPolygonRDD

        public static void testLoadShapefileIntoPolygonRDD()
                                                    throws Exception
        Throws:
        Exception