class UserDefinedScalarFunc extends ExpressionWithToString
The general representation of user defined scalar function, which contains the upper-cased function name, canonical function name and all the children expressions.
- Annotations
- @Evolving()
- Source
- UserDefinedScalarFunc.java
- Since
3.4.0
- Alphabetic
- By Inheritance
- UserDefinedScalarFunc
- ExpressionWithToString
- Serializable
- Expression
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UserDefinedScalarFunc(name: String, canonicalName: String, children: Array[Expression])
Value Members
- def canonicalName(): String
- def children(): Array[Expression]
Returns an array of the children of this node.
Returns an array of the children of this node. Children should not change.
- Definition Classes
- UserDefinedScalarFunc → Expression
- Annotations
- @Override()
- def describe(): String
Format the expression as a human readable SQL-like string.
Format the expression as a human readable SQL-like string.
- Definition Classes
- Expression
- def equals(o: AnyRef): Boolean
- Definition Classes
- UserDefinedScalarFunc → AnyRef → Any
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- UserDefinedScalarFunc → AnyRef → Any
- Annotations
- @Override()
- def name(): String
- def references(): Array[NamedReference]
List of fields or columns that are referenced by this expression.
List of fields or columns that are referenced by this expression.
- Definition Classes
- Expression
- def toString(): String
- Definition Classes
- ExpressionWithToString → AnyRef → Any