case class Filter(child: Relation, filterExpr: Expression, nodeLocation: Option[NodeLocation]) extends UnaryRelation with Product with Serializable
- Alphabetic
- By Inheritance
- Filter
- Serializable
- UnaryRelation
- UnaryPlan
- Relation
- LogicalPlan
- SQLSig
- Product
- Equals
- TreeNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Filter(child: Relation, filterExpr: Expression, nodeLocation: Option[NodeLocation])
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
- val child: Relation
- Definition Classes
- Filter → UnaryRelation → UnaryPlan
- def children: Seq[LogicalPlan]
All child nodes of this plan node
All child nodes of this plan node
- Definition Classes
- UnaryPlan → LogicalPlan → TreeNode
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def collectExpressions(cond: PartialFunction[Expression, Boolean]): List[Expression]
Collect from all input expressions and report matching expressions
Collect from all input expressions and report matching expressions
- Definition Classes
- LogicalPlan
- def copyInstance(newArgs: Seq[AnyRef]): Filter.this.type
- Attributes
- protected
- Definition Classes
- LogicalPlan
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def expressions: Seq[Expression]
Expressions associated to this LogicalPlan node
Expressions associated to this LogicalPlan node
- Definition Classes
- LogicalPlan
- val filterExpr: Expression
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def inputAttributes: Seq[Attribute]
- Definition Classes
- UnaryPlan → LogicalPlan
- def inputExpressions: List[Expression]
List all input expressions to the plan
List all input expressions to the plan
- Definition Classes
- LogicalPlan
- def inputRelation: Relation
- Definition Classes
- UnaryRelation
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapChildren(f: (LogicalPlan) => LogicalPlan): LogicalPlan
- Definition Classes
- LogicalPlan
- def modelName: String
- Definition Classes
- LogicalPlan
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeLocation: Option[NodeLocation]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def outputAttributes: Seq[Attribute]
- Definition Classes
- Filter → LogicalPlan
- def pp: String
- Definition Classes
- LogicalPlan
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- lazy val resolved: Boolean
- Definition Classes
- LogicalPlan
- def resolvedChildren: Boolean
- Definition Classes
- LogicalPlan
- def sig(config: QuerySignatureConfig): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def transform(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
Iterate through LogicalPlans and apply matching rules for transformation.
Iterate through LogicalPlans and apply matching rules for transformation. The transformation will be applied to the current node as well.
- Definition Classes
- LogicalPlan
- def transformChildExpressions(rule: PartialFunction[Expression, Expression]): LogicalPlan
Transform only child expressions
Transform only child expressions
- Definition Classes
- LogicalPlan
- def transformChildren(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
Transform child node only once
Transform child node only once
- Definition Classes
- LogicalPlan
- def transformChildrenOnce(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
Apply transformOnce for all child nodes.
Apply transformOnce for all child nodes.
- Definition Classes
- LogicalPlan
- def transformExpressions(rule: PartialFunction[Expression, Expression]): LogicalPlan
Recursively transform all nested expressions
Recursively transform all nested expressions
- Definition Classes
- LogicalPlan
- def transformOnce(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
Traverse the tree until finding the nodes matching the pattern.
Traverse the tree until finding the nodes matching the pattern. All nodes found from the root will be transformed, and no further recursive match will occur from the transformed nodes.
If you want to continue the transformation for the child nodes, use transformChildren or transformChildrenOnce inside the rule.
- Definition Classes
- LogicalPlan
- def transformUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
- Definition Classes
- LogicalPlan
- def transformUpExpressions(rule: PartialFunction[Expression, Expression]): LogicalPlan
Depth-first transformation of expression
Depth-first transformation of expression
- Definition Classes
- LogicalPlan
- def traverse[U](rule: PartialFunction[LogicalPlan, U]): Unit
Recursively traverse plan nodes and apply the given function to LogicalPlan nodes
Recursively traverse plan nodes and apply the given function to LogicalPlan nodes
- Definition Classes
- LogicalPlan
- def traverseChildren[U](rule: PartialFunction[LogicalPlan, U]): Unit
Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes
Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes
- Definition Classes
- LogicalPlan
- def traverseChildrenOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit
Recursively traverse the child plan nodes until the rule matches.
Recursively traverse the child plan nodes until the rule matches.
- Definition Classes
- LogicalPlan
- def traverseExpressions[U](rule: PartialFunction[Expression, U]): Unit
- Definition Classes
- LogicalPlan
- def traverseOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit
Recursively traverse the plan nodes until the rule matches.
Recursively traverse the plan nodes until the rule matches.
- Definition Classes
- LogicalPlan
- def unresolvedExpressions: Seq[Expression]
- Definition Classes
- LogicalPlan
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated