package sql
User-facing module imports
- Alphabetic
- By Inheritance
- sql
- SpatialEncoders
- Library
- SpatialRelations
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class GeoMesaDataSource extends DataSourceRegister with RelationProvider with SchemaRelationProvider with CreatableRelationProvider with LazyLogging
- case class GeoMesaJoinRelation(sqlContext: SQLContext, leftRel: GeoMesaRelation, rightRel: GeoMesaRelation, schema: StructType, condition: Expression, filt: Filter = org.opengis.filter.Filter.INCLUDE, props: Option[Seq[String]] = None) extends BaseRelation with PrunedFilteredScan with Product with Serializable
- case class GeoMesaRelation(sqlContext: SQLContext, sft: SimpleFeatureType, schema: StructType, params: Map[String, String], filter: Option[Filter], cached: Option[CachedRDD], partitioned: Option[PartitionedRDD]) extends BaseRelation with PrunedFilteredScan with LazyLogging with Product with Serializable
The Spark Relation that builds the scan over the GeoMesa table
The Spark Relation that builds the scan over the GeoMesa table
- sqlContext
spark sql context
- sft
simple feature type associated with the rows in the relation
- schema
spark sql schema (must correspond to the sft)
- params
user parameters, generally for configured the underlying data store and/or caching/partitioning
- filter
a push-down geotools filter applied to the relation
- cached
an optional cached RDD, used to speed up queries when enabled
- partitioned
an optional spatially partitioned RDD, used to speed up spatial joins when enabled
- class IndexPartitioner extends Partitioner
- class OverlapAction extends SweepLineOverlapAction with Serializable
Value Members
- implicit def jtsGeometryCollectionEncoder: Encoder[GeometryCollection]
- Definition Classes
- SpatialEncoders
- implicit def jtsGeometryEncoder: Encoder[Geometry]
- Definition Classes
- SpatialEncoders
- implicit def jtsLineStringEncoder: Encoder[LineString]
- Definition Classes
- SpatialEncoders
- implicit def jtsMultiLineStringEncoder: Encoder[MultiLineString]
- Definition Classes
- SpatialEncoders
- implicit def jtsMultiPointEncoder: Encoder[MultiPoint]
- Definition Classes
- SpatialEncoders
- implicit def jtsMultiPolygonEncoder: Encoder[MultiPolygon]
- Definition Classes
- SpatialEncoders
- implicit def jtsPointEncoder: Encoder[Point]
- Definition Classes
- SpatialEncoders
- implicit def jtsPolygonEncoder: Encoder[Polygon]
- Definition Classes
- SpatialEncoders
- def st_distanceSpheroid(left: Column, right: Column): TypedColumn[Any, Double]
- Definition Classes
- SpatialRelations
- def st_lengthSphere(line: Column): TypedColumn[Any, Double]
- Definition Classes
- SpatialRelations
- def st_lengthSpheroid: UserDefinedFunction
- def st_transform(geom: Column, fromCRS: Column, toCRS: Column): TypedColumn[Any, Geometry]
- Definition Classes
- SpatialRelations
- object Aggregates
- object DataFrameFunctions extends SpatialEncoders
DataFrame DSL functions for working with GeoTools
- object GeoJSONExtensions
- object GeoMesaRelation extends LazyLogging with Serializable
- object GeoMesaSparkSQL
- object GeomesaPysparkFunctions
Re-wrapping the UDFs so we can access them from PySpark without using the SQL API.
- object GeometricDistanceFunctions
- object RelationUtils extends LazyLogging
- object SQLRules extends LazyLogging
- object SQLTypes
- object SparkUtils extends LazyLogging
- object SparkVersions
Utility to smooth over differences in spark API versions using reflection