org.elasticsearch.spark.sql

ElasticsearchXDRelation

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    parameters

    Configuration form ElasticSearch

    sqlContext

    Spark SQL Context

    userSchema

    Spark User Defined Schema

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def buildScan(optimizedLogicalPlan: LogicalPlan): Option[Array[Row]]

    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
  8. def buildScan(requiredColumns: Array[String], filters: Array[Filter]): ScalaEsRowRDD

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

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

    Definition Classes
    ElasticsearchRelation
  11. lazy val cfg: Settings

    Definition Classes
    ElasticsearchRelation
  12. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

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

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

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

    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
  20. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  21. lazy val lazySchema: Schema

    Definition Classes
    ElasticsearchRelation
  22. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  29. def logName: String

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

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

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

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

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

    Definition Classes
    AnyRef
  35. def needConversion: Boolean

    Definition Classes
    BaseRelation
  36. final def notify(): Unit

    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  38. def schema: StructType

    Definition Classes
    ElasticsearchRelation → BaseRelation
  39. def sizeInBytes: Long

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

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

    Definition Classes
    ElasticsearchRelation → BaseRelation
  42. lazy val valueWriter: ScalaValueWriter

    Definition Classes
    ElasticsearchRelation
  43. final def wait(): Unit

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

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

    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