case class ExpressionTreeTraversal(parentOperator: LogicalPlan, ansiMode: Boolean, lcaEnabled: Boolean, groupByAliases: Boolean, sessionLocalTimeZone: String, defaultCollation: Option[String] = None, invalidExpressionsInTheContextOfOperator: ArrayList[Expression] = new ArrayList[Expression], referencedAttributes: HashMap[ExprId, Attribute] = new HashMap[ExprId, Attribute], isFilterOnTopOfAggregate: Boolean = false, isSortOnTopOfAggregate: Boolean = false) extends Product with Serializable
Properties of a current expression tree traversal. Settings like ansiMode, lcaEnabled or
groupByAliases are set once per expression tree traversal as an optimization to avoid
frequent SQLConf lookups. These settings may be different for different views.
- parentOperator
The parent operator of the current expression tree.
- ansiMode
Whether the current expression tree being resolved is in ANSI mode.
- lcaEnabled
Whether lateral column alias resolution is enabled.
- groupByAliases
Whether the group by aliases resolution is enabled.
- sessionLocalTimeZone
The session local time zone.
- defaultCollation
View's default collation if explicitly set.
- invalidExpressionsInTheContextOfOperator
The expressions that are invalid in the context of the current expression tree and its parent operator.
- referencedAttributes
All attributes that are referenced during the resolution of expression trees.
- isFilterOnTopOfAggregate
Whether the current expression tree is below a Filter on top of an Aggregate operator.
- isSortOnTopOfAggregate
Whether the current expression tree is below a Sort on top of an Aggregate operator (or on top of a Filter with an Aggregate as its child).
- Alphabetic
- By Inheritance
- ExpressionTreeTraversal
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExpressionTreeTraversal(parentOperator: LogicalPlan, ansiMode: Boolean, lcaEnabled: Boolean, groupByAliases: Boolean, sessionLocalTimeZone: String, defaultCollation: Option[String] = None, invalidExpressionsInTheContextOfOperator: ArrayList[Expression] = new ArrayList[Expression], referencedAttributes: HashMap[ExprId, Attribute] = new HashMap[ExprId, Attribute], isFilterOnTopOfAggregate: Boolean = false, isSortOnTopOfAggregate: Boolean = false)
- parentOperator
The parent operator of the current expression tree.
- ansiMode
Whether the current expression tree being resolved is in ANSI mode.
- lcaEnabled
Whether lateral column alias resolution is enabled.
- groupByAliases
Whether the group by aliases resolution is enabled.
- sessionLocalTimeZone
The session local time zone.
- defaultCollation
View's default collation if explicitly set.
- invalidExpressionsInTheContextOfOperator
The expressions that are invalid in the context of the current expression tree and its parent operator.
- referencedAttributes
All attributes that are referenced during the resolution of expression trees.
- isFilterOnTopOfAggregate
Whether the current expression tree is below a Filter on top of an Aggregate operator.
- isSortOnTopOfAggregate
Whether the current expression tree is below a Sort on top of an Aggregate operator (or on top of a Filter with an Aggregate as its child).
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
- val ansiMode: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val defaultCollation: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val groupByAliases: Boolean
- val invalidExpressionsInTheContextOfOperator: ArrayList[Expression]
- val isFilterOnTopOfAggregate: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isSortOnTopOfAggregate: Boolean
- val lcaEnabled: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val parentOperator: LogicalPlan
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val referencedAttributes: HashMap[ExprId, Attribute]
- val sessionLocalTimeZone: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
(Since version 9)