36 enum class scan_type : bool { INCLUSIVE, EXCLUSIVE };
105 std::optional<std::reference_wrapper<scalar const>> init,
180 std::optional<std::reference_wrapper<scalar const>> init,
216 std::pair<std::unique_ptr<scalar>, std::unique_ptr<scalar>>
minmax(
Representation for specifying desired aggregations from aggregation-based APIs, e....
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Indicator for the logical data type of an element in a column.
Derived class intended for reduction usage.
Derived class intended for scan usage.
Derived class intended for segmented reduction usage.
std::pair< std::unique_ptr< scalar >, std::unique_ptr< scalar > > minmax(column_view const &col, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Determines the minimum and maximum values of a column.
scan_type
Enum to describe scan operation type.
std::unique_ptr< scalar > reduce(column_view const &col, reduce_aggregation const &agg, data_type output_dtype, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the reduction of the values in all rows of a column.
std::unique_ptr< column > segmented_reduce(column_view const &segmented_values, device_span< size_type const > offsets, segmented_reduce_aggregation const &agg, data_type output_dtype, null_policy null_handling, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Compute reduction of each segment in the input column.
std::unique_ptr< column > scan(column_view const &input, scan_aggregation const &agg, scan_type inclusive, null_policy null_handling=null_policy::EXCLUDE, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the scan of a column.
inclusive
Enum used to define whether or not bins include their boundary points.
device_memory_resource * get_current_device_resource()
null_policy
Enum to specify whether to include nulls or exclude nulls.
@ EXCLUDE
exclude null elements
Class definitions for cudf::scalar.
Device version of C++20 std::span with reduced feature set.