libcudf  24.02.00
Public Member Functions | Public Attributes | List of all members
cudf::nullate::DYNAMIC Struct Reference

nullate::DYNAMIC defers the determination of nullability to run time rather than compile time. The calling code is responsible for specifying whether or not nulls are present using the constructor parameter at run time. More...

Public Member Functions

constexpr DYNAMIC (bool b) noexcept
 Create a runtime nullate object. More...
 
constexpr operator bool () const noexcept
 Returns true if nulls are expected in the operation in which this object is applied. More...
 

Public Attributes

bool value
 True if nulls are expected.
 

Detailed Description

nullate::DYNAMIC defers the determination of nullability to run time rather than compile time. The calling code is responsible for specifying whether or not nulls are present using the constructor parameter at run time.

Definition at line 66 of file column_device_view.cuh.

Constructor & Destructor Documentation

◆ DYNAMIC()

constexpr cudf::nullate::DYNAMIC::DYNAMIC ( bool  b)
inlineexplicitconstexprnoexcept

Create a runtime nullate object.

See also
cudf::column_device_view::optional_begin for example usage
Parameters
bTrue if nulls are expected in the operation in which this object is applied.

Definition at line 76 of file column_device_view.cuh.

Member Function Documentation

◆ operator bool()

constexpr cudf::nullate::DYNAMIC::operator bool ( ) const
inlineconstexprnoexcept

Returns true if nulls are expected in the operation in which this object is applied.

Returns
true if nulls are expected in the operation in which this object is applied, otherwise false

Definition at line 83 of file column_device_view.cuh.


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