TypeResolver

wvlet.airframe.sql.analyzer.TypeResolver$
object TypeResolver extends LogSupport

Resolve untyped LogicalPlans and Expressions into typed ones.

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def resolve(analyzerContext: AnalyzerContext, plan: LogicalPlan): LogicalPlan

Translate select i1, i2, ... group by 1, 2, ... query into select i1, i2, ... group by i1, i2

Translate select i1, i2, ... group by 1, 2, ... query into select i1, i2, ... group by i1, i2

Attributes

Resolve group by keys

Resolve group by keys

Attributes

Resolve TableRefs in a query inside WITH statement with CTERelationRef

Resolve TableRefs in a query inside WITH statement with CTERelationRef

Attributes

def resolveExpression(context: AnalyzerContext, expr: Expression, inputAttributes: Seq[Attribute], isSelectItem: Boolean): Expression

Resolve untyped expressions

Resolve untyped expressions

Attributes

def resolveRelation(analyzerContext: AnalyzerContext, plan: LogicalPlan): Relation

An entry point of TypeResolver for transforming a Relation to Relation

An entry point of TypeResolver for transforming a Relation to Relation

Attributes

Resolve TableRefs with concrete TableScans using the table schema in the catalog.

Resolve TableRefs with concrete TableScans using the table schema in the catalog.

Attributes

def typerRules: List[Rule]

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods