Packages

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, Product, Equals, LazyLogging, PrunedFilteredScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoMesaRelation
  2. Serializable
  3. Product
  4. Equals
  5. LazyLogging
  6. PrunedFilteredScan
  7. BaseRelation
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

    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
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildScan(requiredColumns: Array[String], filters: Array[Filter]): RDD[Row]
    Definition Classes
    GeoMesaRelation → PrunedFilteredScan
  6. val cached: Option[CachedRDD]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val filter: Option[Filter]
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def join(other: GeoMesaRelation, condition: Expression): Option[GeoMesaJoinRelation]

    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
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def needConversion: Boolean
    Definition Classes
    BaseRelation
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val params: Map[String, String]
  20. val partitioned: Option[PartitionedRDD]
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. val schema: StructType
    Definition Classes
    GeoMesaRelation → BaseRelation
  23. val sft: SimpleFeatureType
  24. def sizeInBytes: Long
    Definition Classes
    BaseRelation
  25. val sqlContext: SQLContext
    Definition Classes
    GeoMesaRelation → BaseRelation
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def unhandledFilters(filters: Array[Filter]): Array[Filter]
    Definition Classes
    GeoMesaRelation → BaseRelation
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

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