Class

org.elasticsearch.spark.sql

ElasticsearchXDRelation

Related Doc: package sql

Permalink

class ElasticsearchXDRelation extends ElasticsearchRelation with NativeScan with Logging

ElasticSearchXDRelation inherits from ElasticsearchRelation and adds the NativeScan support to make Native Queries from the XDContext

Linear Supertypes
Logging, NativeScan, PushDownable, ElasticsearchRelation, Serializable, Serializable, Product, Equals, InsertableRelation, PrunedFilteredScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElasticsearchXDRelation
  2. Logging
  3. NativeScan
  4. PushDownable
  5. ElasticsearchRelation
  6. Serializable
  7. Serializable
  8. Product
  9. Equals
  10. InsertableRelation
  11. PrunedFilteredScan
  12. BaseRelation
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElasticsearchXDRelation(parameters: Map[String, String], sqlContext: SQLContext, userSchema: Option[StructType] = None)

    Permalink

    parameters

    Configuration form ElasticSearch

    sqlContext

    Spark SQL Context

    userSchema

    Spark User Defined Schema

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(optimizedLogicalPlan: LogicalPlan): Option[Array[Row]]

    Permalink

    Build and Execute a NativeScan for the LogicalPlan provided.

    Build and Execute a NativeScan for the LogicalPlan provided.

    optimizedLogicalPlan

    the LogicalPlan to be executed

    returns

    a list of Spark Row with the LogicalPlan execution result.

    Definition Classes
    ElasticsearchXDRelation → NativeScan
  6. def buildScan(requiredColumns: Array[String], filters: Array[Filter]): RDD[Row]

    Permalink
    Definition Classes
    ElasticsearchXDRelation → ElasticsearchRelation → PrunedFilteredScan
  7. def buildScan(requiredColumns: Array[String]): RDD[Row]

    Permalink
    Definition Classes
    ElasticsearchRelation
  8. def buildScan(): RDD[Row]

    Permalink
    Definition Classes
    ElasticsearchRelation
  9. lazy val cfg: Settings

    Permalink
    Definition Classes
    ElasticsearchRelation
  10. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def insert(data: DataFrame, overwrite: Boolean): Unit

    Permalink
    Definition Classes
    ElasticsearchRelation → InsertableRelation
  15. def isEmpty(): Boolean

    Permalink
    Definition Classes
    ElasticsearchRelation
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isSupported(logicalStep: LogicalPlan, wholeLogicalPlan: LogicalPlan): Boolean

    Permalink

    Checks the ability to execute a LogicalPlan.

    Checks the ability to execute a LogicalPlan.

    logicalStep

    isolated plan

    wholeLogicalPlan

    the whole DataFrame tree

    returns

    whether the logical step within the entire logical plan is supported

    Definition Classes
    ElasticsearchXDRelation → PushDownable
  18. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. lazy val lazySchema: Schema

    Permalink
    Definition Classes
    ElasticsearchRelation
  20. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. def needConversion: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. val parameters: Map[String, String]

    Permalink

    Configuration form ElasticSearch

    Configuration form ElasticSearch

    Definition Classes
    ElasticsearchRelation
  37. def schema: StructType

    Permalink
    Definition Classes
    ElasticsearchRelation → BaseRelation
  38. def sizeInBytes: Long

    Permalink
    Definition Classes
    BaseRelation
  39. val sqlContext: SQLContext

    Permalink

    Spark SQL Context

    Spark SQL Context

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

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

    Permalink
    Definition Classes
    ElasticsearchRelation → BaseRelation
  42. val userSchema: Option[StructType]

    Permalink

    Spark User Defined Schema

    Spark User Defined Schema

    Definition Classes
    ElasticsearchRelation
  43. lazy val valueWriter: ScalaValueWriter

    Permalink
    Definition Classes
    ElasticsearchRelation
  44. final def wait(): Unit

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

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

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

Inherited from Logging

Inherited from NativeScan

Inherited from PushDownable

Inherited from ElasticsearchRelation

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from InsertableRelation

Inherited from PrunedFilteredScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped