Attribute Expressions¶
Attribute
is an extension of the LeafExpression and NamedExpression abstractions for named leaf expressions.
Attributes are used by QueryPlan
to build the schema of the structured query (it represents).
Contract¶
newInstance¶
newInstance(): Attribute
Note
newInstance
is part of the NamedExpression abstraction but changes the return type to Attribute
(from the base NamedExpression
).
withDataType¶
withDataType(
newType: DataType): Attribute
withExprId¶
withExprId(
newExprId: ExprId): Attribute
withMetadata¶
withMetadata(
newMetadata: Metadata): Attribute
withName¶
withName(
newName: String): Attribute
withNullability¶
withNullability(
newNullability: Boolean): Attribute
withQualifier¶
withQualifier(
newQualifier: Seq[String]): Attribute
Implementations¶
AttributeReference
PrettyAttribute
- UnresolvedAttribute