Class LineStringRDD

    • Constructor Detail

      • LineStringRDD

        public LineStringRDD()
        Instantiates a new line string RDD.
      • LineStringRDD

        public LineStringRDD​(org.apache.spark.api.java.JavaRDD<org.locationtech.jts.geom.LineString> rawSpatialRDD)
        Instantiates a new line string RDD.
        Parameters:
        rawSpatialRDD - the raw spatial RDD
      • LineStringRDD

        public LineStringRDD​(org.apache.spark.api.java.JavaSparkContext sparkContext,
                             String InputLocation,
                             Integer startOffset,
                             Integer endOffset,
                             org.apache.sedona.common.enums.FileDataSplitter splitter,
                             boolean carryInputData)
        Instantiates a new line string RDD.
        Parameters:
        sparkContext - the spark context
        InputLocation - the input location
        startOffset - the start offset
        endOffset - the end offset
        splitter - the splitter
        carryInputData - the carry input data
      • LineStringRDD

        public LineStringRDD​(org.apache.spark.api.java.JavaSparkContext sparkContext,
                             String InputLocation,
                             org.apache.sedona.common.enums.FileDataSplitter splitter,
                             boolean carryInputData,
                             Integer partitions)
        Instantiates a new line string RDD.
        Parameters:
        sparkContext - the spark context
        InputLocation - the input location
        splitter - the splitter
        carryInputData - the carry input data
        partitions - the partitions
      • LineStringRDD

        public LineStringRDD​(org.apache.spark.api.java.JavaSparkContext sparkContext,
                             String InputLocation,
                             org.apache.sedona.common.enums.FileDataSplitter splitter,
                             boolean carryInputData)
        Instantiates a new line string RDD.
        Parameters:
        sparkContext - the spark context
        InputLocation - the input location
        splitter - the splitter
        carryInputData - the carry input data
      • LineStringRDD

        public LineStringRDD​(org.apache.spark.api.java.JavaSparkContext sparkContext,
                             String InputLocation,
                             Integer partitions,
                             org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)
        Instantiates a new line string RDD.
        Parameters:
        sparkContext - the spark context
        InputLocation - the input location
        partitions - the partitions
        userSuppliedMapper - the user supplied mapper
      • LineStringRDD

        public LineStringRDD​(org.apache.spark.api.java.JavaSparkContext sparkContext,
                             String InputLocation,
                             org.apache.spark.api.java.function.FlatMapFunction userSuppliedMapper)
        Instantiates a new line string RDD.
        Parameters:
        sparkContext - the spark context
        InputLocation - the input location
        userSuppliedMapper - the user supplied mapper
      • LineStringRDD

        public LineStringRDD​(org.apache.spark.api.java.JavaSparkContext sparkContext,
                             String InputLocation,
                             Integer startOffset,
                             Integer endOffset,
                             org.apache.sedona.common.enums.FileDataSplitter splitter,
                             boolean carryInputData,
                             Integer partitions)
        Instantiates a new line string RDD.
        Parameters:
        sparkContext - the spark context
        InputLocation - the input location
        startOffset - the start offset
        endOffset - the end offset
        splitter - the splitter
        carryInputData - the carry input data
        partitions - the partitions