|
CUDF_HOST_DEVICE | column_device_view (data_type type, size_type size, void const *data, bitmask_type const *null_mask, size_type offset, column_device_view *children, size_type num_children) |
| Creates an instance of this class using pre-existing device memory pointers to data, nullmask, and offset. More...
|
|
template<typename T , CUDF_ENABLE_IF(is_rep_layout_compatible< T >()) > |
T | element (size_type element_index) const noexcept |
| Returns reference to element at the specified index. More...
|
|
template<typename T , CUDF_ENABLE_IF(is_fixed_point< T >()) > |
T | element (size_type element_index) const noexcept |
| Returns reference to element at the specified index. More...
|
|
column_device_view | child (size_type child_index) const noexcept |
| Returns the specified child. More...
|
|
CUDF_HOST_DEVICE size_type | num_child_columns () const noexcept |
| Returns the number of child columns. More...
|
|
Public Member Functions inherited from cudf::jit::detail::column_device_view_base |
CUDF_HOST_DEVICE | column_device_view_base (data_type type, size_type size, void const *data, bitmask_type const *null_mask, size_type offset) |
| Constructs a column with the specified type, size, data, nullmask and offset. More...
|
|
template<typename T = void, CUDF_ENABLE_IF(cuda::std::is_same_v< T, void > or is_rep_layout_compatible< T >()) > |
CUDF_HOST_DEVICE T const * | head () const noexcept |
| Returns pointer to the base device memory allocation casted to the specified type. More...
|
|
template<typename T , CUDF_ENABLE_IF(is_rep_layout_compatible< T >()) > |
CUDF_HOST_DEVICE T const * | data () const noexcept |
| Returns the underlying data casted to the specified type, plus the offset. More...
|
|
CUDF_HOST_DEVICE size_type | size () const noexcept |
| Returns the number of elements in the column. More...
|
|
CUDF_HOST_DEVICE data_type | type () const noexcept |
| Returns the element type. More...
|
|
CUDF_HOST_DEVICE bool | nullable () const noexcept |
| Indicates whether the column can contain null elements, i.e., if it has an allocated bitmask. More...
|
|
CUDF_HOST_DEVICE bitmask_type const * | null_mask () const noexcept |
| Returns raw pointer to the underlying bitmask allocation. More...
|
|
CUDF_HOST_DEVICE size_type | offset () const noexcept |
| Returns the index of the first element relative to the base memory allocation, i.e., what is returned from head<T>() . More...
|
|
bool | is_valid (size_type element_index) const noexcept |
| Returns whether the specified element holds a valid value (i.e., not null). More...
|
|
bool | is_valid_nocheck (size_type element_index) const noexcept |
| Returns whether the specified element holds a valid value (i.e., not null) More...
|
|
bool | is_null (size_type element_index) const noexcept |
| Returns whether the specified element is null. More...
|
|
bool | is_null_nocheck (size_type element_index) const noexcept |
| Returns whether the specified element is null. More...
|
|
bitmask_type | get_mask_word (size_type word_index) const noexcept |
| Returns the specified bitmask word from the null_mask() . More...
|
|