Class/Object

org.locationtech.geomesa.spark

GeoMesaRelation

Related Docs: object GeoMesaRelation | package spark

Permalink

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

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

Linear Supertypes
Serializable, Serializable, Product, Equals, LazyLogging, PrunedFilteredScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GeoMesaRelation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LazyLogging
  7. PrunedFilteredScan
  8. BaseRelation
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeoMesaRelation(sqlContext: SQLContext, sft: SimpleFeatureType, schema: StructType, params: Map[String, String], filter: Option[Filter], cached: Option[CachedRDD], partitioned: Option[PartitionedRDD])

    Permalink

    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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildScan(requiredColumns: Array[String], filters: Array[Filter]): RDD[Row]

    Permalink
    Definition Classes
    GeoMesaRelation → PrunedFilteredScan
  6. val cached: Option[CachedRDD]

    Permalink

    an optional cached RDD, used to speed up queries when enabled

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val filter: Option[Filter]

    Permalink

    a push-down geotools filter applied to the relation

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def join(other: GeoMesaRelation, condition: Expression): Option[GeoMesaJoinRelation]

    Permalink

    Attempts to do an optimized join between two relations.

    Attempts to do an optimized join between two relations.

    Currently this method uses grid partitioning on both relations so that the join comparisons only need to be applied on each pair of partitions, instead of globally. This only works if both relations have already been grid partitioned.

    other

    relation to join

    condition

    join condition

    returns

    an optimized join, if possible to do so

  14. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def needConversion: Boolean

    Permalink
    Definition Classes
    BaseRelation
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val params: Map[String, String]

    Permalink

    user parameters, generally for configured the underlying data store and/or caching/partitioning

  20. val partitioned: Option[PartitionedRDD]

    Permalink

    an optional spatially partitioned RDD, used to speed up spatial joins when enabled

  21. val schema: StructType

    Permalink

    spark sql schema (must correspond to the sft)

    spark sql schema (must correspond to the sft)

    Definition Classes
    GeoMesaRelation → BaseRelation
  22. val sft: SimpleFeatureType

    Permalink

    simple feature type associated with the rows in the relation

  23. def sizeInBytes: Long

    Permalink
    Definition Classes
    BaseRelation
  24. val sqlContext: SQLContext

    Permalink

    spark sql context

    spark sql context

    Definition Classes
    GeoMesaRelation → BaseRelation
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Permalink
    Definition Classes
    GeoMesaRelation → BaseRelation
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LazyLogging

Inherited from PrunedFilteredScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped