Class SedonaConf

    • Constructor Detail

      • SedonaConf

        public SedonaConf​(org.apache.spark.SparkConf sparkConf)
      • SedonaConf

        public SedonaConf​(org.apache.spark.sql.RuntimeConfig runtimeConfig)
    • Method Detail

      • fromActiveSession

        public static SedonaConf fromActiveSession()
      • fromSparkEnv

        public static SedonaConf fromSparkEnv()
      • getUseIndex

        public boolean getUseIndex()
      • getIndexType

        public IndexType getIndexType()
      • getJoinApproximateTotalCount

        public long getJoinApproximateTotalCount()
      • getDatasetBoundary

        public org.locationtech.jts.geom.Envelope getDatasetBoundary()
      • getJoinGridType

        public GridType getJoinGridType()
      • getFallbackPartitionNum

        public int getFallbackPartitionNum()
      • getAutoBroadcastJoinThreshold

        public long getAutoBroadcastJoinThreshold()
      • isIncludeTieBreakersInKNNJoins

        public boolean isIncludeTieBreakersInKNNJoins()
      • getDBSCANIncludeOutliers

        public Boolean getDBSCANIncludeOutliers()
      • getLibPostalDataDir

        public String getLibPostalDataDir()
      • getLibPostalUseSenzing

        public Boolean getLibPostalUseSenzing()
      • getCRSTransformMode

        public SedonaConf.CRSTransformMode getCRSTransformMode()
        Get the CRS transformation mode for ST_Transform.
        Returns:
        The CRS transformation mode
        Since:
        1.9.0
      • getCrsUrlBase

        public String getCrsUrlBase()
        Get the base URL for the URL-based CRS provider. When non-empty, a UrlCRSProvider is registered to resolve SRID definitions from this HTTP(S) endpoint.
        Returns:
        The base URL, or empty string if disabled
        Since:
        1.9.0
      • getCrsUrlPathTemplate

        public String getCrsUrlPathTemplate()
        Get the path template for the URL-based CRS provider. Supports placeholders: {authority} and {code}.
        Returns:
        The path template (default: "/{authority}/{code}.json")
        Since:
        1.9.0
      • getCrsUrlFormat

        public String getCrsUrlFormat()
        Get the expected response format for the URL-based CRS provider.
        Returns:
        The format string: "projjson", "proj", "wkt1", or "wkt2" (default: "projjson")
        Since:
        1.9.0