object ExplainUtils extends AdaptiveSparkPlanHelper
- Alphabetic
- By Inheritance
- ExplainUtils
- AdaptiveSparkPlanHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
collect[B](p: SparkPlan)(pf: PartialFunction[SparkPlan, B]): Seq[B]
Returns a Seq containing the result of applying a partial function to all elements in this tree on which the function is defined.
Returns a Seq containing the result of applying a partial function to all elements in this tree on which the function is defined.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
collectFirst[B](p: SparkPlan)(pf: PartialFunction[SparkPlan, B]): Option[B]
Finds and returns the first SparkPlan of the tree for which the given partial function is defined (pre-order), and applies the partial function to it.
Finds and returns the first SparkPlan of the tree for which the given partial function is defined (pre-order), and applies the partial function to it.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
collectLeaves(p: SparkPlan): Seq[SparkPlan]
Returns a Seq containing the leaves in this tree.
Returns a Seq containing the leaves in this tree.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
collectWithSubqueries[B](p: SparkPlan)(f: PartialFunction[SparkPlan, B]): Seq[B]
Returns a sequence containing the result of applying a partial function to all elements in this plan, also considering all the plans in its (nested) subqueries
Returns a sequence containing the result of applying a partial function to all elements in this plan, also considering all the plans in its (nested) subqueries
- Definition Classes
- AdaptiveSparkPlanHelper
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: SparkPlan)(f: (SparkPlan) ⇒ Boolean): Option[SparkPlan]
Find the first SparkPlan that satisfies the condition specified by
f
.Find the first SparkPlan that satisfies the condition specified by
f
. The condition is recursively applied to this node and all of its children (pre-order).- Definition Classes
- AdaptiveSparkPlanHelper
-
def
flatMap[A](p: SparkPlan)(f: (SparkPlan) ⇒ TraversableOnce[A]): Seq[A]
Returns a Seq by applying a function to all nodes in this tree and using the elements of the resulting collections.
Returns a Seq by applying a function to all nodes in this tree and using the elements of the resulting collections.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
foreach(p: SparkPlan)(f: (SparkPlan) ⇒ Unit): Unit
Runs the given function on this node and then recursively on children.
Runs the given function on this node and then recursively on children.
- f
the function to be applied to each node in the tree.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
foreachUp(p: SparkPlan)(f: (SparkPlan) ⇒ Unit): Unit
Runs the given function recursively on children then on this node.
Runs the given function recursively on children then on this node.
- f
the function to be applied to each node in the tree.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
generateFieldString(fieldName: String, values: Any): String
Generate detailed field string with different format based on type of input value
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getOpId(plan: QueryPlan[_]): String
Returns the operator identifier for the supplied plan by retrieving the
operationId
tag value. -
def
getOrCloneSessionWithAqeOff[T](session: SparkSession): SparkSession
Returns a cloned SparkSession with adaptive execution disabled, or the original SparkSession if its adaptive execution is already disabled.
Returns a cloned SparkSession with adaptive execution disabled, or the original SparkSession if its adaptive execution is already disabled.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapPlans[A](p: SparkPlan)(f: (SparkPlan) ⇒ A): Seq[A]
Returns a Seq containing the result of applying the given function to each node in this tree in a preorder traversal.
Returns a Seq containing the result of applying the given function to each node in this tree in a preorder traversal.
- f
the function to be applied.
- Definition Classes
- AdaptiveSparkPlanHelper
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
processPlan[T <: QueryPlan[T]](plan: ⇒ QueryPlan[T], append: (String) ⇒ Unit): Unit
Given a input physical plan, performs the following tasks.
Given a input physical plan, performs the following tasks.
- Generates the explain output for the input plan excluding the subquery plans. 2. Generates the explain output for each subquery referenced in the plan.
- def removeTags(plan: QueryPlan[_]): Unit
-
def
stripAQEPlan(p: SparkPlan): SparkPlan
Strip the executePlan of AdaptiveSparkPlanExec leaf node.
Strip the executePlan of AdaptiveSparkPlanExec leaf node.
- Definition Classes
- AdaptiveSparkPlanHelper
-
def
subqueriesAll(p: SparkPlan): Seq[SparkPlan]
Returns a sequence containing the subqueries in this plan, also including the (nested) subquries in its children
Returns a sequence containing the subqueries in this plan, also including the (nested) subquries in its children
- Definition Classes
- AdaptiveSparkPlanHelper
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()