AnalyzerContext

wvlet.airframe.sql.analyzer.AnalyzerContext
case class AnalyzerContext(database: String, catalog: Catalog, parentAttributes: Option[Seq[Attribute]], outerQueries: Map[String, LogicalPlan])

Propagate context

Attributes

database

context database

parentAttributes

attributes used in the parent relation. This is used for pruning unnecessary columns output attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def withAttributes(parentAttributes: Seq[Attribute]): AnalyzerContext

Update the relation attributes used in the plan.

Update the relation attributes used in the plan.

Attributes

def withOuterQuery(name: String, relation: LogicalPlan): AnalyzerContext

Add an outer query (e.g., WITH query) to the context

Add an outer query (e.g., WITH query) to the context

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product