Packages

class ViewResolver extends TreeNodeResolver[View, View]

The ViewResolver resolves view plans that were already reconstructed by SessionCatalog from the view text and view metadata (schema, configs).

Linear Supertypes
TreeNodeResolver[View, View], QueryErrorsBase, DataTypeErrorsBase, SQLConfHelper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ViewResolver
  2. TreeNodeResolver
  3. QueryErrorsBase
  4. DataTypeErrorsBase
  5. SQLConfHelper
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ViewResolver(resolver: Resolver, catalogManager: CatalogManager)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. 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
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def getCatalogAndNamespace: Option[Seq[String]]
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def getDefaultCollation: Option[String]

    Get View's default collation if explicitly set.

  12. def getQueryContext(context: QueryContext): Array[QueryContext]
    Definition Classes
    DataTypeErrorsBase
  13. def getSummary(sqlContext: QueryContext): String
    Definition Classes
    DataTypeErrorsBase
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  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. def ordinalNumber(i: Int): String
    Definition Classes
    QueryErrorsBase
  20. def quoteByDefault(elem: String): String
    Attributes
    protected[sql]
    Definition Classes
    DataTypeErrorsBase
  21. def resolve(unresolvedView: View): View

    Resolve the unresolvedView and its underlying plan.

    Resolve the unresolvedView and its underlying plan. This method uses parent Resolver to resolve the view child. View resolution consists of the following steps:

    Definition Classes
    ViewResolver → TreeNodeResolver
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toDSOption(option: String): String
    Definition Classes
    DataTypeErrorsBase
  24. def toSQLConf(conf: String): String
    Definition Classes
    DataTypeErrorsBase
  25. def toSQLConfVal(conf: String): String
    Definition Classes
    QueryErrorsBase
  26. def toSQLExpr(e: Expression): String
    Definition Classes
    QueryErrorsBase
  27. def toSQLId(parts: Seq[String]): String
    Definition Classes
    DataTypeErrorsBase
  28. def toSQLId(parts: String): String
    Definition Classes
    DataTypeErrorsBase
  29. def toSQLStmt(text: String): String
    Definition Classes
    DataTypeErrorsBase
  30. def toSQLType(t: AbstractDataType): String
    Definition Classes
    DataTypeErrorsBase
  31. def toSQLType(text: String): String
    Definition Classes
    DataTypeErrorsBase
  32. def toSQLValue(v: Any, t: DataType): String
    Definition Classes
    QueryErrorsBase
  33. def toSQLValue(value: Double): String
    Definition Classes
    DataTypeErrorsBase
  34. def toSQLValue(value: Float): String
    Definition Classes
    DataTypeErrorsBase
  35. def toSQLValue(value: Long): String
    Definition Classes
    DataTypeErrorsBase
  36. def toSQLValue(value: Int): String
    Definition Classes
    DataTypeErrorsBase
  37. def toSQLValue(value: Short): String
    Definition Classes
    DataTypeErrorsBase
  38. def toSQLValue(value: UTF8String): String
    Definition Classes
    DataTypeErrorsBase
  39. def toSQLValue(value: String): String
    Definition Classes
    DataTypeErrorsBase
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. 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
  45. def withSourceUnresolvedRelation(unresolvedRelation: UnresolvedRelation)(body: => LogicalPlan): LogicalPlan

    This method preserves the resolved UnresolvedRelation for the further view resolution process.

    This method preserves the resolved UnresolvedRelation for the further view resolution process.

    sourceUnresolvedRelationStack is used to save the UnresolvedRelation after its resolution by Resolver.resolveRelation, since View that was produced from this UnresolvedRelation needs UnresolvedRelation.options for its resolution. We pop from the sourceUnresolvedRelationStack after the body is executed. The stack is necessary, since withSourceUnresolvedRelation calls might be nested: UnresolvedRelation -> View ... UnresolvedRelation -> View ...

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 TreeNodeResolver[View, View]

Inherited from QueryErrorsBase

Inherited from DataTypeErrorsBase

Inherited from SQLConfHelper

Inherited from AnyRef

Inherited from Any

Ungrouped