object LogicalPlanIntegrity
- Alphabetic
- By Inheritance
- LogicalPlanIntegrity
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 canGetOutputAttrs(p: LogicalPlan): Boolean
- def checkIfSameExprIdNotReused(plan: LogicalPlan): Option[String]
This method checks if reference
ExprIds are not reused when assigning a newExprId.This method checks if reference
ExprIds are not reused when assigning a newExprId. For example, it returns false if plan transformers create an alias having the sameExprIdwith one of reference attributes, e.g.,a#1 + 1 AS a#1. Returns the error message if the check does not pass. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasUniqueExprIdsForOutput(plan: LogicalPlan): Option[String]
Since some logical plans (e.g.,
Union) can buildAttributeReferences in theiroutput, this method checks if the sameExprIdrefers to attributes having the same data type in plan output.Since some logical plans (e.g.,
Union) can buildAttributeReferences in theiroutput, this method checks if the sameExprIdrefers to attributes having the same data type in plan output. Returns the error message if the check does not pass. - def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validateExprIdUniqueness(plan: LogicalPlan): Option[String]
This method checks if the same
ExprIdrefers to an unique attribute in a plan tree.This method checks if the same
ExprIdrefers to an unique attribute in a plan tree. Some plan transformers (e.g.,RemoveNoopOperators) rewrite logical plans based on this assumption. Returns the error message if the check does not pass. - def validateOptimizedPlan(previousPlan: LogicalPlan, currentPlan: LogicalPlan): Option[String]
Validate the structural integrity of an optimized plan.
Validate the structural integrity of an optimized plan. For example, we can check after the execution of each rule that each plan: - is still resolved - only host special expressions in supported operators - has globally-unique attribute IDs - has the same result schema as the previous plan - has no dangling attribute references
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()