Package io.delta.kernel.expressions
Class Column
Object
io.delta.kernel.expressions.Column
- All Implemented Interfaces:
Expression
An expression type that refers to a column (case-sensitive) in the input. The column name is
either a single name or array of names (when referring to a nested column).
- Since:
- 3.0.0
-
Constructor Details
-
Column
Create a column expression for referring to a column. -
Column
Create a column expression to refer to a nested column.
-
-
Method Details
-
getNames
- Returns:
- the column names. Each part in the name correspond to one level of nested reference.
-
getChildren
- Specified by:
getChildren
in interfaceExpression
- Returns:
- a list of expressions that are input to this expression.
-
toString
-
appendNestedField
Returns a new column that appends the input column name to the current column. Corresponds to an additional level of nested reference.- Parameters:
name
- the column name to append- Returns:
- the new column
-
equals
-
hashCode
public int hashCode()
-