package geodesic
- Alphabetic
- Public
- All
Type Members
- case class ClusterConfig(api_key: Option[String], host: String, name: String) extends Product with Serializable
- case class DatasetInfo(name: String, alias: String, config: Option[ProviderConfig] = None, fields: Map[String, Map[String, FieldDef]] = Map.empty, geometryTypes: Map[String, String] = Map.empty) extends Product with Serializable
- case class Feature(geometry: Option[Geometry], properties: Map[String, JsValue]) extends Product with Serializable
- case class FeatureCollection(features: List[Feature], links: Option[List[Link]]) extends Product with Serializable
- case class FieldDef(title: String, type: String, format: Option[String] = None) extends Product with Serializable
- class GeodesicClient extends Serializable with Logging
-
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
-
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!
- case class Link(href: String, rel: String, title: String) extends Product with Serializable
- case class ProviderConfig(providerName: String, url: String, maxPageSize: Int = 10000) extends Product with Serializable
-
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.
- case class Tokens(access_token: String, id_token: String) extends Product with Serializable
Value Members
-
object
CQL2FilterTranslator extends Logging
Translates Spark SQL filters to CQL2 JSON format and extracts spatial filters for the Geodesic API's intersects parameter.
- object ClusterConfig extends Serializable
- object DatasetInfo extends Serializable
- object Feature extends Serializable
- object FeatureCollection extends Serializable
- object FilterExample extends App
- object GeodesicConfig extends Serializable
-
object
GeodesicConfigApp extends App
Simple app to load the geodesic config
- object SpatialFilterExample extends App
-
object
TokenCache
Thread-safe singleton for caching tokens across serialization boundaries
- object Tokens extends Serializable