p

ai.seer

geodesic

package geodesic

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class ClusterConfig(api_key: Option[String], host: String, name: String) extends Product with Serializable
  2. case class DatasetInfo(name: String, alias: String, config: Option[ProviderConfig] = None, fields: Map[String, Map[String, FieldDef]] = Map.empty) extends Product with Serializable
  3. case class Feature(geometry: Geometry, properties: Map[String, JsValue]) extends Product with Serializable
  4. case class FeatureCollection(features: List[Feature], links: Option[List[Link]]) extends Product with Serializable
  5. case class FieldDef(title: String, type: String, format: Option[String] = None) extends Product with Serializable
  6. class GeodesicClient extends Serializable with Logging
  7. case class GeodesicConfig(active: String, clusters: List[ClusterConfig]) extends Product with Serializable

    The config class for Geodesic.

    The config class for Geodesic. Either checks environment for GEODESIC_API_KEY and optionally GEODESIC_HOST or reads the active cluster from the config file located at ~/.config/geodesic/config.json

  8. class GeodesicSparkExtension extends (SparkSessionExtensions) ⇒ Unit with Logging

    Spark Extension that automatically registers the Geodesic spatial filter pushdown rule.

    Spark Extension that automatically registers the Geodesic spatial filter pushdown rule. This extension is automatically loaded when the JAR is in the classpath and the spark.sql.extensions configuration includes this extension.

    Usage:

    • Scala: .config("spark.sql.extensions", "ai.seer.geodesic.GeodesicSparkExtension")
    • Python: .config("spark.sql.extensions", "ai.seer.geodesic.GeodesicSparkExtension")

    This makes spatial pushdown work automatically in both Scala and Python!

  9. case class Link(href: String, rel: String, title: String) extends Product with Serializable
  10. case class ProviderConfig(providerName: String, url: String, maxPageSize: Int = 10000) extends Product with Serializable
  11. class SpatialPushdownRule extends Rule[LogicalPlan] with Logging

    Spatial filter pushdown rule for Geodesic data source.

    Spatial filter pushdown rule for Geodesic data source. This rule intercepts spatial expressions (ST_Intersects, ST_Contains, ST_Within, ST_Overlaps, ST_Touches, ST_Crosses) and pushes them down to the Geodesic API as intersects parameters for server-side processing.

    Since Sedona runs these as post-scan filters anyway, pushing them down as intersects filters provides significant performance benefits.

  12. case class Tokens(access_token: String, id_token: String) extends Product with Serializable

Value Members

  1. object CQL2FilterTranslator extends Logging

    Translates Spark SQL filters to CQL2 JSON format and extracts spatial filters for the Geodesic API's intersects parameter.

  2. object ClusterConfig extends Serializable
  3. object DatasetInfo extends Serializable
  4. object Feature extends Serializable
  5. object FeatureCollection extends Serializable
  6. object FilterExample extends App
  7. object GeodesicConfig extends Serializable
  8. object GeodesicConfigApp extends App

    Simple app to load the geodesic config

  9. object SpatialFilterExample extends App
  10. object Tokens extends Serializable

Ungrouped