org.apache.spark.sql.execution

SparkLogicalPlan

case class SparkLogicalPlan(alreadyPlanned: SparkPlan) extends LogicalPlan with MultiInstanceRelation with Product with Serializable

:: DeveloperApi :: Allows already planned SparkQueries to be linked into logical query plans.

Note that in general it is not valid to use this class to link multiple copies of the same physical operator into the same query plan as this violates the uniqueness of expression ids. Special handling exists for ExistingRdd as these are already leaf operators and thus we can just replace the output attributes with new copies of themselves without breaking any attribute linking.

Annotations
@DeveloperApi()
Linear Supertypes
Serializable, Serializable, Product, Equals, MultiInstanceRelation, LogicalPlan, QueryPlan[LogicalPlan], TreeNode[LogicalPlan], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SparkLogicalPlan
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. MultiInstanceRelation
  7. LogicalPlan
  8. QueryPlan
  9. TreeNode
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkLogicalPlan(alreadyPlanned: SparkPlan)

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. val alreadyPlanned: SparkPlan

  7. def apply(number: Int): LogicalPlan

    Definition Classes
    TreeNode
  8. def argString: String

    Definition Classes
    TreeNode
  9. def asCode: String

    Definition Classes
    TreeNode
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def children: Nil.type

    Definition Classes
    SparkLogicalPlan → TreeNode
  12. def childrenResolved: Boolean

    Definition Classes
    LogicalPlan
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collect[B](pf: PartialFunction[LogicalPlan, B]): Seq[B]

    Definition Classes
    TreeNode
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def expressions: Seq[Expression]

    Definition Classes
    QueryPlan
  17. def fastEquals(other: TreeNode[_]): Boolean

    Definition Classes
    TreeNode
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flatMap[A](f: (LogicalPlan) ⇒ TraversableOnce[A]): Seq[A]

    Definition Classes
    TreeNode
  20. def foreach(f: (LogicalPlan) ⇒ Unit): Unit

    Definition Classes
    TreeNode
  21. def generateSchemaString(schema: StructType, prefix: String, builder: StringBuilder): StringBuilder

    Attributes
    protected
    Definition Classes
    QueryPlan
  22. def generateSchemaString(schema: Seq[Attribute]): String

    Attributes
    protected
    Definition Classes
    QueryPlan
  23. def generateTreeString(depth: Int, builder: StringBuilder): StringBuilder

    Attributes
    protected
    Definition Classes
    TreeNode
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def getNodeNumbered(number: MutableInt): LogicalPlan

    Attributes
    protected
    Definition Classes
    TreeNode
  26. val id: Long

    Definition Classes
    TreeNode
  27. lazy val inputSet: Set[Attribute]

    Definition Classes
    LogicalPlan
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def makeCopy(newArgs: Array[AnyRef]): SparkLogicalPlan.this.type

    Definition Classes
    TreeNode
  30. def map[A](f: (LogicalPlan) ⇒ A): Seq[A]

    Definition Classes
    TreeNode
  31. def mapChildren(f: (LogicalPlan) ⇒ LogicalPlan): SparkLogicalPlan.this.type

    Definition Classes
    TreeNode
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def newInstance(): SparkLogicalPlan.this.type

    Definition Classes
    SparkLogicalPlan → MultiInstanceRelation
  34. def nodeName: String

    Definition Classes
    TreeNode
  35. final def notify(): Unit

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

    Definition Classes
    AnyRef
  37. def numberedTreeString: String

    Definition Classes
    TreeNode
  38. def otherCopyArgs: Seq[AnyRef]

    Attributes
    protected
    Definition Classes
    TreeNode
  39. def output: Seq[Attribute]

    Definition Classes
    SparkLogicalPlan → QueryPlan
  40. def outputSet: Set[Attribute]

    Definition Classes
    QueryPlan
  41. def printSchema(): Unit

    Definition Classes
    QueryPlan
  42. def references: Set[Attribute]

    Definition Classes
    SparkLogicalPlan → LogicalPlan
  43. def resolve(name: String): Option[NamedExpression]

    Definition Classes
    LogicalPlan
  44. lazy val resolved: Boolean

    Definition Classes
    LogicalPlan
  45. def sameInstance(other: TreeNode[_]): Boolean

    Definition Classes
    TreeNode
  46. def schemaString: String

    Definition Classes
    QueryPlan
  47. def simpleString: String

    Definition Classes
    TreeNode
  48. def stringArgs: Iterator[Any]

    Attributes
    protected
    Definition Classes
    TreeNode
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    TreeNode → AnyRef → Any
  51. def transform(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

    Definition Classes
    TreeNode
  52. def transformAllExpressions(rule: PartialFunction[Expression, Expression]): SparkLogicalPlan.this.type

    Definition Classes
    QueryPlan
  53. def transformChildrenDown(rule: PartialFunction[LogicalPlan, LogicalPlan]): SparkLogicalPlan.this.type

    Definition Classes
    TreeNode
  54. def transformChildrenUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): SparkLogicalPlan.this.type

    Definition Classes
    TreeNode
  55. def transformDown(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

    Definition Classes
    TreeNode
  56. def transformExpressions(rule: PartialFunction[Expression, Expression]): SparkLogicalPlan.this.type

    Definition Classes
    QueryPlan
  57. def transformExpressionsDown(rule: PartialFunction[Expression, Expression]): SparkLogicalPlan.this.type

    Definition Classes
    QueryPlan
  58. def transformExpressionsUp(rule: PartialFunction[Expression, Expression]): SparkLogicalPlan.this.type

    Definition Classes
    QueryPlan
  59. def transformUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

    Definition Classes
    TreeNode
  60. def treeString: String

    Definition Classes
    TreeNode
  61. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. def withNewChildren(newChildren: Seq[LogicalPlan]): SparkLogicalPlan.this.type

    Definition Classes
    TreeNode

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MultiInstanceRelation

Inherited from LogicalPlan

Inherited from QueryPlan[LogicalPlan]

Inherited from TreeNode[LogicalPlan]

Inherited from AnyRef

Inherited from Any

Ungrouped