A type of scalar_device_view that stores a pointer to a string value. More...
Public Types | |
using | ValueType = cudf::string_view |
Public Member Functions | |
string_scalar_device_view (data_type type, const char *data, bool *is_valid, size_type size) | |
ValueType | value () const noexcept |
Returns string_view of the value of this scalar. | |
char const * | data () const noexcept |
Returns a raw pointer to the value in device memory. | |
size_type | size () const noexcept |
Returns the size of the string in bytes. | |
![]() | |
data_type | type () const noexcept |
Returns the value type. | |
bool | is_valid () const noexcept |
Returns whether the scalar holds a valid value (i.e., not null). More... | |
void | set_valid (bool is_valid) noexcept |
Updates the validity of the value. More... | |
Additional Inherited Members | |
![]() | |
scalar_device_view_base (data_type type, bool *is_valid) | |
![]() | |
data_type | _type {type_id::EMPTY} |
Value data type. | |
bool * | _is_valid {} |
A type of scalar_device_view that stores a pointer to a string value.
Definition at line 251 of file scalar_device_view.cuh.