A expression referring to data from a column in a table.
More...
#include <expressions.hpp>
A expression referring to data from a column in a table.
Definition at line 502 of file expressions.hpp.
◆ column_name_reference()
cudf::ast::column_name_reference::column_name_reference |
( |
std::string |
column_name | ) |
|
|
inline |
Construct a new column name reference object.
- Parameters
-
column_name | Name of this column in the table metadata (provided when the expression is evaluated). |
Definition at line 510 of file expressions.hpp.
◆ accept() [1/3]
std::unique_ptr<cudf::detail::row_ir::node> cudf::ast::column_name_reference::accept |
( |
cudf::detail::row_ir::ast_converter & |
visitor | ) |
const |
|
overridevirtual |
Accepts a visitor class.
- Parameters
-
visitor | The expression_parser parsing this expression tree |
- Returns
- Index of device data reference for this instance
Implements cudf::ast::expression.
◆ accept() [2/3]
cudf::size_type cudf::ast::column_name_reference::accept |
( |
detail::expression_parser & |
visitor | ) |
const |
|
overridevirtual |
Accepts a visitor class.
- Parameters
-
visitor | The expression_parser parsing this expression tree |
- Returns
- Index of device data reference for this instance
Implements cudf::ast::expression.
◆ accept() [3/3]
std::reference_wrapper<expression const> cudf::ast::column_name_reference::accept |
( |
detail::expression_transformer & |
visitor | ) |
const |
|
overridevirtual |
Accepts a visitor class.
- Parameters
-
visitor | The expression_parser parsing this expression tree |
- Returns
- Index of device data reference for this instance
Implements cudf::ast::expression.
◆ get_column_name()
std::string cudf::ast::column_name_reference::get_column_name |
( |
| ) |
const |
|
inline |
Get the column name.
- Returns
- The name of this column reference
Definition at line 517 of file expressions.hpp.
◆ may_evaluate_null()
Returns true if the expression may evaluate to null.
- Parameters
-
left | The left operand of the expression |
right | The right operand of the expression |
stream | CUDA stream used for device memory operations and kernel launches |
- Returns
true
if the expression may evaluate to null, otherwise false
Implements cudf::ast::expression.
Definition at line 530 of file expressions.hpp.
The documentation for this class was generated from the following file: