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 355 of file expressions.hpp.
◆ column_reference()
Construct a new column reference object.
- Parameters
-
column_index | Index of this column in the table (provided when the expression is evaluated). |
table_source | Which table to use in cases with two tables (e.g. joins) |
Definition at line 364 of file expressions.hpp.
◆ accept() [1/2]
cudf::size_type cudf::ast::column_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() [2/2]
std::reference_wrapper<expression const> cudf::ast::column_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_index()
Get the column index.
- Returns
- The column index of the column reference
Definition at line 375 of file expressions.hpp.
◆ get_data_type() [1/2]
Get the data type.
- Parameters
-
left_table | Left table used to determine types |
right_table | Right table used to determine types |
- Returns
- The data type of the column
Definition at line 402 of file expressions.hpp.
◆ get_data_type() [2/2]
Get the data type.
- Parameters
-
table | Table used to determine types |
- Returns
- The data type of the column
Definition at line 390 of file expressions.hpp.
◆ get_table_source()
Get the table source.
- Returns
- table_reference The reference to the table containing this column
Definition at line 382 of file expressions.hpp.
◆ may_evaluate_null()
bool cudf::ast::column_reference::may_evaluate_null |
( |
table_view const & |
left, |
|
|
table_view const & |
right, |
|
|
rmm::cuda_stream_view |
stream |
|
) |
| const |
|
inlineoverridevirtual |
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 428 of file expressions.hpp.
The documentation for this class was generated from the following file: