A type-erased scalar_device_view where the value is a fixed width type or a string.
More...
#include <expressions.hpp>
A type-erased scalar_device_view where the value is a fixed width type or a string.
Definition at line 167 of file expressions.hpp.
◆ generic_scalar_device_view() [1/6]
template<typename T >
cudf::ast::generic_scalar_device_view::generic_scalar_device_view |
( |
numeric_scalar< T > & |
s | ) |
|
|
inline |
Construct a new generic scalar device view object from a numeric scalar.
- Parameters
-
s | The numeric scalar to construct from |
Definition at line 189 of file expressions.hpp.
◆ generic_scalar_device_view() [2/6]
template<typename T >
cudf::ast::generic_scalar_device_view::generic_scalar_device_view |
( |
timestamp_scalar< T > & |
s | ) |
|
|
inline |
Construct a new generic scalar device view object from a timestamp scalar.
- Parameters
-
s | The timestamp scalar to construct from |
Definition at line 199 of file expressions.hpp.
◆ generic_scalar_device_view() [3/6]
template<typename T >
cudf::ast::generic_scalar_device_view::generic_scalar_device_view |
( |
duration_scalar< T > & |
s | ) |
|
|
inline |
Construct a new generic scalar device view object from a duration scalar.
- Parameters
-
s | The duration scalar to construct from |
Definition at line 209 of file expressions.hpp.
◆ generic_scalar_device_view() [4/6]
cudf::ast::generic_scalar_device_view::generic_scalar_device_view |
( |
string_scalar & |
s | ) |
|
|
inline |
Construct a new generic scalar device view object from a string scalar.
- Parameters
-
s | The string scalar to construct from |
Definition at line 218 of file expressions.hpp.
◆ generic_scalar_device_view() [5/6]
cudf::ast::generic_scalar_device_view::generic_scalar_device_view |
( |
data_type |
type, |
|
|
void const * |
data, |
|
|
bool * |
is_valid |
|
) |
| |
|
inlineprotected |
Construct a new fixed width scalar device view object.
- Parameters
-
type | The data type of the value |
data | The pointer to the data in device memory |
is_valid | The pointer to the bool in device memory that indicates the validity of the stored value |
Definition at line 235 of file expressions.hpp.
◆ generic_scalar_device_view() [6/6]
cudf::ast::generic_scalar_device_view::generic_scalar_device_view |
( |
data_type |
type, |
|
|
void const * |
data, |
|
|
bool * |
is_valid, |
|
|
size_type |
size |
|
) |
| |
|
inlineprotected |
Construct a new string scalar device view object.
- Parameters
-
type | The data type of the value |
data | The pointer to the data in device memory |
is_valid | The pointer to the bool in device memory that indicates the validity of the stored value |
size | The size of the string in bytes |
Definition at line 248 of file expressions.hpp.
◆ value()
template<typename T >
T const cudf::ast::generic_scalar_device_view::value |
( |
| ) |
const |
|
inlinenoexcept |
Returns the stored value.
- Template Parameters
-
- Returns
- The stored value
Definition at line 176 of file expressions.hpp.
The documentation for this class was generated from the following file: