Object/Class

org.locationtech.geomesa.compute.spark.sql

GeoMesaSparkSql

Related Docs: class GeoMesaSparkSql | package sql

Permalink

object GeoMesaSparkSql extends LazyLogging

Class to manage running sql queries against geomesa using spark.

There can only be a single spark context running in a given jvm, so it has to be managed using the start/stop/register methods.

Annotations
@deprecated
Deprecated
Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GeoMesaSparkSql
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def execute(sql: String): (StructType, Array[Row])

    Permalink

    Execute a sql query against geomesa.

    Execute a sql query against geomesa. Where clause is interpreted as CQL.

  9. def extractAttributeNames(sql: Query, cql: Map[String, Filter]): Map[String, Set[String]]

    Permalink

    Get the attribute names referenced in the query - used to select a subset of attributes from geomesa

  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. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. lazy val logger: Logger

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. def registerDataStore(params: Map[String, String]): Unit

    Permalink

    Register a data store.

    Register a data store. This makes all schemas in the data store available for querying. Synchronized to ensure it's only called when the spark context is not running.

  19. def start(configs: Map[String, String] = Map.empty, distributedJars: Seq[String] = Seq.empty): Boolean

    Permalink

    Starts the spark context, if not already running.

  20. def stop(wait: Long = 1): Boolean

    Permalink

    Stops the spark context, if running.

    Stops the spark context, if running. Blocks until all current processes have finished executing. Note that the synchronization on this method will prevent new tasks from executing.

    wait

    if < 0, will block indefinitely if >= 0, will return after that many millis

    returns

    true if successfully stopped, else false

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped