@Evolving public interface NamedReference extends Expression
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | NamedReference.FieldReferenceA  NamedReferencethat references a field or column. | 
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE| Modifier and Type | Method and Description | 
|---|---|
| default Expression[] | children() | 
| static NamedReference.FieldReference | field(java.lang.String columnName)Returns a  NamedReference.FieldReferencefor the given column name. | 
| static NamedReference.FieldReference | field(java.lang.String[] fieldName)Returns a  NamedReference.FieldReferencefor the given field name(s). | 
| java.lang.String[] | fieldName()Returns the referenced field name as an array of String parts. | 
| default NamedReference[] | references() | 
static NamedReference.FieldReference field(java.lang.String[] fieldName)
NamedReference.FieldReference for the given field name(s). The array of field name(s) is
 used to reference nested fields. For example, if we have a struct column named "student" with a
 data type of StructType{"name": StringType, "age": IntegerType}, we can reference the field
 "name" by calling field("student", "name").fieldName - the field name(s)NamedReference.FieldReference for the given field name(s)static NamedReference.FieldReference field(java.lang.String columnName)
NamedReference.FieldReference for the given column name.columnName - the column nameNamedReference.FieldReference for the given column name.java.lang.String[] fieldName()
Each string in the returned array represents a field name.
default Expression[] children()
children in interface Expressiondefault NamedReference[] references()
references in interface Expression