Packages

class QueryExecution extends AnyRef

The primary workflow for executing relational queries using Spark. Designed to allow easy access to the intermediate phases of query execution for developers.

While this is not a public class, we should avoid changing the function names for the sake of changing them, because a lot of developers use the feature for debugging.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryExecution
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryExecution(sparkSession: SparkSession, logical: LogicalPlan, tracker: QueryPlanningTracker = new QueryPlanningTracker)

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. lazy val analyzed: LogicalPlan
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def assertAnalyzed(): Unit
  7. def assertSupported(): Unit
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def executePhase[T](phase: String)(block: ⇒ T): T
    Attributes
    protected
  12. lazy val executedPlan: SparkPlan
  13. def explainString(mode: ExplainMode): String
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val logical: LogicalPlan
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def observedMetrics: Map[String, Row]

    Get the metrics observed during the execution of the query plan.

  23. lazy val optimizedPlan: LogicalPlan
  24. def planner: SparkPlanner
    Attributes
    protected
  25. def preparations: Seq[Rule[SparkPlan]]
    Attributes
    protected
  26. def simpleString(formatted: Boolean): String
  27. def simpleString: String
  28. lazy val sparkPlan: SparkPlan
  29. val sparkSession: SparkSession
  30. def stringWithStats: String
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. lazy val toRdd: RDD[InternalRow]

    Internal version of the RDD.

    Internal version of the RDD. Avoids copies and has no schema. Note for callers: Spark may apply various optimization including reusing object: this means the row is valid only for the iteration it is retrieved. You should avoid storing row and accessing after iteration. (Calling collect() is one of known bad usage.) If you want to store these rows into collection, please apply some converter or copy row which produces new object per iteration. Given QueryExecution is not a public class, end users are discouraged to use this: please use Dataset.rdd instead where conversion will be applied.

  33. def toString(): String
    Definition Classes
    QueryExecution → AnyRef → Any
  34. val tracker: QueryPlanningTracker
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. lazy val withCachedData: LogicalPlan
  39. object debug

    A special namespace for commands that can be used to debug query execution.

Inherited from AnyRef

Inherited from Any

Ungrouped