Alias

wvlet.airframe.sql.model.Expression$.Alias
case class Alias(qualifier: Option[String], name: String, expr: Expression, nodeLocation: Option[NodeLocation]) extends Attribute

Attributes

Graph
Supertypes
trait Attribute
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def children: Seq[Expression]

Attributes

Definition Classes
override def dataType: DataType

Attributes

Definition Classes
override def inputColumns: Seq[Attribute]

Sub Attributes used to generate this Attribute

Sub Attributes used to generate this Attribute

Attributes

Definition Classes
override def sourceColumns: Seq[SourceColumn]

Returns the unmodified source columns referenced by this Attribute

Returns the unmodified source columns referenced by this Attribute

Attributes

Definition Classes
override def sqlExpr: String

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
override def withQualifier(newQualifier: Option[String]): Attribute

Attributes

Definition Classes

Inherited methods

def alias: Option[String]

Attributes

Inherited from:
Attribute
override def attributeName: String

Column name without qualifier

Column name without qualifier

Attributes

Definition Classes
Inherited from:
Attribute
def collectExpressions(cond: PartialFunction[Expression, Boolean]): List[Expression]

Attributes

Inherited from:
Expression

Attributes

Inherited from:
Expression
def dataTypeName: String

Attributes

Inherited from:
Expression
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
def fullName: String

Attributes

Inherited from:
Attribute
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
def matched(columnPath: ColumnPath): Option[Attribute]

If a given column name matches with this Attribute, return this. If there are multiple candidate attributes (e.g., via Join, Union), return MultiSourceAttribute.

If a given column name matches with this Attribute, return this. If there are multiple candidate attributes (e.g., via Join, Union), return MultiSourceAttribute.

Attributes

Inherited from:
Attribute
def matchesWith(columnPath: ColumnPath): Boolean

Return true if this Attribute matches with a given column path

Return true if this Attribute matches with a given column path

Attributes

Inherited from:
Attribute
def prefix: String

Attributes

Inherited from:
Attribute
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def resolvedChildren: Boolean

Attributes

Inherited from:
Expression
def resolvedInputs: Boolean

Attributes

Inherited from:
Expression
def setQualifierIfEmpty(newQualifier: Option[String]): Attribute

Attributes

Inherited from:
Attribute
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
def transformExpression(rule: PartialFunction[Expression, Expression]): Expression

Recursively transform the expression in breadth-first order

Recursively transform the expression in breadth-first order

Attributes

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

Attributes

Inherited from:
Expression

Recursively transform the expression in depth-first order

Recursively transform the expression in depth-first order

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Expression
def typeDescription: String
  • Returns "(name):(type)" of this attribute

Attributes

Inherited from:
Expression
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
def withAlias(newAlias: Option[String]): Attribute

Attributes

Inherited from:
Attribute
def withAlias(newAlias: String): Attribute

Attributes

Inherited from:
Attribute
def withQualifier(newQualifier: String): Attribute

Attributes

Inherited from:
Attribute

Inherited fields

lazy val resolved: Boolean

Attributes

Inherited from:
Expression