Interface for User-Defined Aggregate Function (UDAF). A UDAF operates on one column of data and returns one column of data.
More...
|
virtual void | aggregateArrs (ServerInterface &srvInterface, void **dstTuples, int doff, const void *arr, int stride, const void *rcounts, int rcstride, int count, IntermediateAggs &intAggs, std::vector< int > &intOffsets, BlockReader &arg_reader)=0 |
|
virtual void | combine (ServerInterface &srvInterface, IntermediateAggs &aggs_output, MultipleIntermediateAggs &aggs_other)=0 |
|
virtual void | destroy (ServerInterface &srvInterface, const SizedColumnTypes &argTypes) |
|
virtual void | destroy (ServerInterface &srvInterface, const SizedColumnTypes &argTypes, SessionParamWriterMap &udSessionParams) |
|
virtual void | initAggregate (ServerInterface &srvInterface, IntermediateAggs &aggs)=0 |
|
virtual void | setup (ServerInterface &srvInterface, const SizedColumnTypes &argTypes) |
|
virtual void | terminate (ServerInterface &srvInterface, BlockWriter &res_writer, IntermediateAggs &aggs) |
|
virtual void | terminate (ServerInterface &srvInterface, BlockWriter &res_writer, IntermediateAggs &aggs, SessionParamWriterMap &udSessionParams) |
|
Interface for User-Defined Aggregate Function (UDAF). A UDAF operates on one column of data and returns one column of data.
An AggregateFunction must have an associated AggregateFunctionFactory.