Skip to content

NamedExpression

NamedExpression is an extension of the Expression abstraction for named expressions (with an ExprId and an optional qualifier).

Contract

ExprId

exprId: ExprId

Name

name: String

Creating NamedExpression

newInstance(): NamedExpression

Qualifier (Parts)

qualifier: Seq[String]

Optional qualifier parts (with the names of catalog, database, table, fields, incl. nested fields)

toAttribute

toAttribute: Attribute

Implementations

foldable

foldable: Boolean

foldable is always false (in order to not remove the alias).

foldable is part of the Expression abstraction.

Back to top