#include "xf_database/group_aggregate.hpp"
template < AggregateOp op, typename T, typename KEY_T > void groupAggregate ( hls::stream <T>& in_strm, hls::stream <bool>& isnull_strm, hls::stream <bool>& in_e_strm, hls::stream <uint64_t>& out_strm, hls::stream <bool>& out_e_strm, hls::stream <KEY_T>& kin_strm, hls::stream <KEY_T>& kout_strm )
aggregate function that counts and returns uint64_t
Parameters:
op | the aggregate operator: AOP_COUNT |
T | the input stream type, inferred from argument |
KEY_T | the input and output stream type, inferred from argument |
in_strm | input data stream |
isnull_strm | flag to indicate the input data is null or not |
in_e_strm | end flag stream for input data |
out_strm | output data stream |
out_e_strm | end flag stream for output data |
kin_strm | input indexing key stream |
kout_strm | output indexing key stream |