Public Types | Public Member Functions | List of all members
cudf::string_scalar_device_view Class Reference

A type of scalar_device_view that stores a pointer to a string value. More...

Inheritance diagram for cudf::string_scalar_device_view:
cudf::detail::scalar_device_view_base

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)
 
__device__ ValueType value () const noexcept
 Returns string_view of the value of this scalar.
 
__device__ char const * data () const noexcept
 Returns a raw pointer to the value in device memory.
 
__device__ size_type size () const noexcept
 Returns the size of the string in bytes.
 
- Public Member Functions inherited from cudf::detail::scalar_device_view_base
__host__ __device__ data_type type () const noexcept
 Returns the value type.
 
__device__ bool is_valid () const noexcept
 Returns whether the scalar holds a valid value (i.e., not null). More...
 
__device__ void set_valid (bool is_valid) noexcept
 Updates the validity of the value. More...
 

Additional Inherited Members

- Protected Member Functions inherited from cudf::detail::scalar_device_view_base
 scalar_device_view_base (data_type type, bool *is_valid)
 
- Protected Attributes inherited from cudf::detail::scalar_device_view_base
data_type _type {type_id::EMPTY}
 Value data type.
 
bool * _is_valid {}
 

Detailed Description

A type of scalar_device_view that stores a pointer to a string value.

Definition at line 235 of file scalar_device_view.cuh.


The documentation for this class was generated from the following file: