Packages

c

org.apache.spark.sql.catalyst.analysis.resolver

ExpressionTreeTraversal

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).

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExpressionTreeTraversal
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ansiMode: Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. val defaultCollation: Option[String]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. val groupByAliases: Boolean
  11. val invalidExpressionsInTheContextOfOperator: ArrayList[Expression]
  12. val isFilterOnTopOfAggregate: Boolean
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val isSortOnTopOfAggregate: Boolean
  15. val lcaEnabled: Boolean
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. val parentOperator: LogicalPlan
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val referencedAttributes: HashMap[ExprId, Attribute]
  22. val sessionLocalTimeZone: String
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped