Interface NamedReference

All Superinterfaces:
Expression

@Evolving public interface NamedReference extends 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 Type
    Method
    Description
    default Expression[]
    Returns an array of the children of this node.
    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

      default Expression[] children()
      Description copied from interface: Expression
      Returns an array of the children of this node. Children should not change.
      Specified by:
      children in interface Expression
    • references

      default NamedReference[] references()
      Description copied from interface: Expression
      List of fields or columns that are referenced by this expression.
      Specified by:
      references in interface Expression