ColumnNameReference#

public final class ColumnNameReference extends AstExpression#

A reference to a column in an input table by name.

Unlike ColumnReference, which references a column by its integer position within the input table, this node carries the column name as a string. The name is resolved to an actual column when the AST is evaluated. This is useful in contexts where the column index is not known at AST-construction time, e.g. when the filter expression is built before the file’s schema has been read. The Parquet hybrid scan reader relies on this node for filter expressions.

Constructor Summary

ColumnNameReference(String columnName)

Construct a column reference using the column name.

Method Summary

Methods inherited from class ai.rapids.cudf.ast.AstExpression: compile, compileJit

Constructors

public ColumnNameReference(String columnName)#

Construct a column reference using the column name.

Parameters:

columnName – the name of the column to reference. Must not be null or empty.

Methods

public String getColumnName()#
Returns:

the column name

public String toString()#