Go to the documentation of this file.
19 #include <cudf/rolling/range_window_bounds.hpp>
114 return window_bounds(
true, std::numeric_limits<cudf::size_type>::max());
std::unique_ptr< column > grouped_rolling_window(table_view const &group_keys, column_view const &input, size_type preceding_window, size_type following_window, size_type min_periods, rolling_aggregation const &aggr, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Applies a grouping-aware, fixed-size rolling window function to the values in a column.
const bool is_unbounded
Whether the window boundary is unbounded.
int32_t size_type
Row index type for columns and tables.
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Type declarations for libcudf.
Abstraction for window boundary sizes, to be used with grouped_range_rolling_window().
std::unique_ptr< column > rolling_window(column_view const &input, size_type preceding_window, size_type following_window, size_type min_periods, rolling_aggregation const &agg, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Applies a fixed-size rolling window function to the values in a column.
std::unique_ptr< column > grouped_time_range_rolling_window(table_view const &group_keys, column_view const ×tamp_column, cudf::order const ×tamp_order, column_view const &input, size_type preceding_window_in_days, size_type following_window_in_days, size_type min_periods, rolling_aggregation const &aggr, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Applies a grouping-aware, timestamp-based rolling window function to the values in a column.
Abstraction for window boundary sizes.
A set of cudf::column_view's of the same size.
const size_type value
Finite window boundary value (in days or rows)
static window_bounds get(size_type value)
Construct bounded window boundary.
static window_bounds unbounded()
Construct unbounded window boundary.
Derived class intended for rolling_window specific aggregation usage.
std::unique_ptr< column > grouped_range_rolling_window(table_view const &group_keys, column_view const &orderby_column, cudf::order const &order, column_view const &input, range_window_bounds const &preceding, range_window_bounds const &following, size_type min_periods, rolling_aggregation const &aggr, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Applies a grouping-aware, value range-based rolling window function to the values in a column.
order
Indicates the order in which elements should be sorted.