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 172 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 194 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 204 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 214 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 223 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 240 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 253 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 181 of file expressions.hpp.
The documentation for this class was generated from the following file: