Interface NamedReference
- All Superinterfaces:
Expression
Represents a field or column reference in the public logical expression API.
- Since:
- 3.0.0
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Method Summary
Modifier and TypeMethodDescriptiondefault Expression[]
children()
Returns an array of the children of this node.String[]
Returns the referenced field name as an array of String parts.default NamedReference[]
List of fields or columns that are referenced by this expression.Methods inherited from interface org.apache.spark.sql.connector.expressions.Expression
describe
-
Method Details
-
fieldNames
String[] fieldNames()Returns the referenced field name as an array of String parts.Each string in the returned array represents a field name.
-
children
Description copied from interface:Expression
Returns an array of the children of this node. Children should not change.- Specified by:
children
in interfaceExpression
-
references
Description copied from interface:Expression
List of fields or columns that are referenced by this expression.- Specified by:
references
in interfaceExpression
-