Relation

wvlet.airframe.sql.model.LogicalPlan$.Relation
trait Relation extends LogicalPlan with SQLSig

Attributes

Graph
Supertypes
trait SQLSig
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
class Join
class Query
class RawSQL
class Except
class Intersect
class Union
class TableRef
class Aggregate
class Distinct
class Filter
class Lateral
class Limit
class Project
trait Selection
class Sort
class Unnest
class Values
class TableScan

Members list

Concise view

Value members

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Return child expressions associated to this LogicalPlan node

Return child expressions associated to this LogicalPlan node

Attributes

Returns:

child expressions of this node

Inherited from:
LogicalPlan

All child nodes of this plan node

All child nodes of this plan node

Attributes

Inherited from:
LogicalPlan
def collectExpressions(cond: PartialFunction[Expression, Boolean]): List[Expression]

Collect from all input expressions and report matching expressions

Collect from all input expressions and report matching expressions

Attributes

Inherited from:
LogicalPlan

Attributes

Inherited from:
LogicalPlan

List all input expressions to the plan

List all input expressions to the plan

Attributes

Inherited from:
LogicalPlan

Attributes

Inherited from:
LogicalPlan
def modelName: String

Attributes

Inherited from:
LogicalPlan

Attributes

Returns:

the code location in the SQL text if available

Inherited from:
TreeNode

Attributes

Inherited from:
LogicalPlan
def pp: String

Attributes

Inherited from:
LogicalPlan
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def resolvedChildren: Boolean

Attributes

Inherited from:
LogicalPlan
def sig(config: QuerySignatureConfig): String

Attributes

Inherited from:
SQLSig
def transform(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

Iterate through LogicalPlans and apply matching rules for transformation. The transformation will be applied to the current node as well.

Iterate through LogicalPlans and apply matching rules for transformation. The transformation will be applied to the current node as well.

Attributes

Inherited from:
LogicalPlan

Transform only child expressions

Transform only child expressions

Attributes

Inherited from:
LogicalPlan

Transform child node only once

Transform child node only once

Attributes

Inherited from:
LogicalPlan

Apply transformOnce for all child nodes.

Apply transformOnce for all child nodes.

Attributes

Inherited from:
LogicalPlan

Recursively transform all nested expressions

Recursively transform all nested expressions

Attributes

Inherited from:
LogicalPlan
def transformOnce(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

Traverse the tree until finding the nodes matching the pattern. All nodes found from the root will be transformed, and no further recursive match will occur from the transformed nodes.

Traverse the tree until finding the nodes matching the pattern. All nodes found from the root will be transformed, and no further recursive match will occur from the transformed nodes.

If you want to continue the transformation for the child nodes, use transformChildren or transformChildrenOnce inside the rule.

Attributes

Inherited from:
LogicalPlan
def transformUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

Attributes

Inherited from:
LogicalPlan

Depth-first transformation of expression

Depth-first transformation of expression

Attributes

Inherited from:
LogicalPlan
def traverse[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse plan nodes and apply the given function to LogicalPlan nodes

Recursively traverse plan nodes and apply the given function to LogicalPlan nodes

Attributes

Inherited from:
LogicalPlan
def traverseChildren[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes

Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes

Attributes

Inherited from:
LogicalPlan
def traverseChildrenOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse the child plan nodes until the rule matches.

Recursively traverse the child plan nodes until the rule matches.

Attributes

Inherited from:
LogicalPlan
def traverseExpressions[U](rule: PartialFunction[Expression, U]): Unit

Attributes

Inherited from:
LogicalPlan
def traverseOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit

Recursively traverse the plan nodes until the rule matches.

Recursively traverse the plan nodes until the rule matches.

Attributes

Inherited from:
LogicalPlan

Attributes

Inherited from:
LogicalPlan

Inherited fields

lazy val resolved: Boolean

Attributes

Inherited from:
LogicalPlan