Packages

c

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

SubqueryExpressionResolver

class SubqueryExpressionResolver extends CoercesExpressionTypes

SubqueryExpressionResolver resolves specific SubqueryExpressions, such as ScalarSubquery, ListQuery, and Exists.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubqueryExpressionResolver
  2. CoercesExpressionTypes
  3. SQLConfHelper
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SubqueryExpressionResolver(expressionResolver: ExpressionResolver, resolver: Resolver)

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 ansiTransformations: Transformations
    Attributes
    protected
    Definition Classes
    CoercesExpressionTypes
  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. def coerceExpressionTypes(expression: Expression, expressionTreeTraversal: ExpressionTreeTraversal): Expression

    Coerces the expression types by applying necessary transformations on the expression and its children.

    Coerces the expression types by applying necessary transformations on the expression and its children. Because fixed-point sometimes resolves type coercion in multiple passes, we apply each provided transformation twice, cyclically, to ensure that types are resolved. For example in a query like:

    SELECT '1' + '1'

    fixed-point analyzer requires two passes to resolve types.

    In the end, we apply DefaultCollationTypeCoercion. See DefaultCollationTypeCoercion doc for more info.

    Additionally, we copy the tags and origin in case the call to this method didn't come from ExpressionResolver, where they are copied generically.

    Definition Classes
    CoercesExpressionTypes
  8. def conf: SQLConf

    The active config object within the current scope.

    The active config object within the current scope. See SQLConf.get for more information.

    Definition Classes
    SQLConfHelper
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val nonAnsiTransformations: Transformations
    Attributes
    protected
    Definition Classes
    CoercesExpressionTypes
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def resolveExists(unresolvedExists: Exists): Expression

    Resolve Exists subquery:

    Resolve Exists subquery:

    • Resolve the subquery plan;
    • Get outer references;
    • Type coerce it;
    • Validate it.
  19. def resolveInSubquery(unresolvedInSubquery: InSubquery): Expression

    Resolve InSubquery:

    Resolve InSubquery:

    • Resolve the underlying ListQuery;
    • Resolve the values;
    • Type coerce it;
    • Validate it.
  20. def resolveListQuery(unresolvedListQuery: ListQuery): Expression

    Resolve ListSubquery, which is always a child of the InSubquery.

  21. def resolveScalarSubquery(unresolvedScalarSubquery: ScalarSubquery): Expression

    Resolve ScalarSubquery:

    Resolve ScalarSubquery:

    • Resolve the subquery plan;
    • Get outer references;
    • Type coerce it;
    • Validate it.
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  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])
  27. def withSQLConf[T](pairs: (String, String)*)(f: => T): T

    Sets all SQL configurations specified in pairs, calls f, and then restores all SQL configurations.

    Sets all SQL configurations specified in pairs, calls f, and then restores all SQL configurations.

    Attributes
    protected
    Definition Classes
    SQLConfHelper

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 CoercesExpressionTypes

Inherited from SQLConfHelper

Inherited from AnyRef

Inherited from Any

Ungrouped