Protected Member Functions | List of all members
cudf::rolling_aggregation Class Reference

Derived class intended for rolling_window specific aggregation usage. More...

#include <aggregation.hpp>

Inheritance diagram for cudf::rolling_aggregation:
cudf::aggregation

Protected Member Functions

 aggregation ()=delete
 constructor inherited from cudf::aggregation
 
 aggregation (aggregation::Kind a)
 constructor inherited from cudf::aggregation
 

Additional Inherited Members

- Public Types inherited from cudf::aggregation
enum  Kind {
  SUM , PRODUCT , MIN , MAX ,
  COUNT_VALID , COUNT_ALL , ANY , ALL ,
  SUM_OF_SQUARES , MEAN , M2 , VARIANCE ,
  STD , MEDIAN , QUANTILE , ARGMAX ,
  ARGMIN , NUNIQUE , NTH_ELEMENT , ROW_NUMBER ,
  EWMA , RANK , COLLECT_LIST , COLLECT_SET ,
  LEAD , LAG , PTX , CUDA ,
  MERGE_LISTS , MERGE_SETS , MERGE_M2 , COVARIANCE ,
  CORRELATION , TDIGEST , MERGE_TDIGEST , HISTOGRAM ,
  MERGE_HISTOGRAM
}
 Possible aggregation operations. More...
 
- Public Member Functions inherited from cudf::aggregation
 aggregation (aggregation::Kind a)
 Construct a new aggregation object. More...
 
virtual bool is_equal (aggregation const &other) const
 Compares two aggregation objects for equality. More...
 
virtual size_t do_hash () const
 Computes the hash value of the aggregation. More...
 
virtual std::unique_ptr< aggregationclone () const =0
 Clones the aggregation object. More...
 
virtual std::vector< std::unique_ptr< aggregation > > get_simple_aggregations (data_type col_type, cudf::detail::simple_aggregations_collector &collector) const =0
 Get the simple aggregations that this aggregation requires to compute. More...
 
virtual void finalize (cudf::detail::aggregation_finalizer &finalizer) const =0
 Compute the aggregation after pre-requisite simple aggregations have been computed. More...
 
- Public Attributes inherited from cudf::aggregation
Kind kind
 The aggregation to perform.
 

Detailed Description

Derived class intended for rolling_window specific aggregation usage.

As an example, rolling_window will only accept rolling_aggregation inputs, and the appropriate derived classes (sum_aggregation, mean_aggregation, etc) derive from this interface to represent these valid options.

Definition at line 186 of file aggregation.hpp.


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