Expression

wvlet.airframe.sql.model.Expression
See theExpression companion object
sealed trait Expression extends TreeNode[Expression] with Product

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
class And
class Eq
class LessThan
class Like
class NotEq
class NotLike
class Or
class CaseExpr
class Between
class In
class IsNotNull
class IsNull
class NoOp
class Not
class NotIn
class Exists
class IfExpr
class JoinOn
class JoinOnEq
class JoinUsing
trait Literal
class Ref
class SortItem
class ColumnDef
class Window
trait Attribute
class Alias
class DigitId
class Day
class Hour
class Minute
class Month
class Second
class Year
class Parameter
class QName
class All
class Cast

Members list

Concise view

Value members

Concrete methods

def attributeName: String

Column name without qualifier

Column name without qualifier

Attributes

def collectExpressions(cond: PartialFunction[Expression, Boolean]): List[Expression]
def dataTypeName: String
def resolvedChildren: Boolean
def resolvedInputs: Boolean
def sqlExpr: String
def transformExpression(rule: PartialFunction[Expression, Expression]): Expression

Recursively transform the expression in breadth-first order

Recursively transform the expression in breadth-first order

Attributes

def transformPlan(rule: PartialFunction[LogicalPlan, LogicalPlan]): Expression

Recursively transform the expression in depth-first order

Recursively transform the expression in depth-first order

Attributes

def traverseExpressions[U](rule: PartialFunction[Expression, U]): Unit
def traversePlan[U](rule: PartialFunction[LogicalPlan, U]): Unit
def traversePlanOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit
def typeDescription: String
  • Returns "(name):(type)" of this attribute

Attributes

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def children: Seq[Elem]

Attributes

Inherited from:
TreeNode

Attributes

Returns:

the code location in the SQL text if available

Inherited from:
TreeNode
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

Concrete fields

lazy val resolved: Boolean