Inheritance diagram for Vertica::AggregateFunction:

Public Member Functions | |
| 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 | initAggregate (ServerInterface &srvInterface, IntermediateAggs &aggs)=0 |
| virtual void | setup (ServerInterface &srvInterface, const SizedColumnTypes &argTypes) |
| virtual void | terminate (ServerInterface &srvInterface, BlockWriter &res_writer, IntermediateAggs &aggs)=0 |
Static Public Member Functions | |
| static void | updateCols (BlockReader &arg_reader, char *arg, int count, IntermediateAggs &intAggs, char *aggPtr, std::vector< int > &intOffsets) |
| virtual void Vertica::AggregateFunction::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 | |||
| ) | [pure virtual] |
Called by the server to perform aggregation on multiple blocks of data
| virtual void Vertica::AggregateFunction::combine | ( | ServerInterface & | srvInterface, | |
| IntermediateAggs & | aggs_output, | |||
| MultipleIntermediateAggs & | aggs_other | |||
| ) | [pure virtual] |
Called when intermediate aggregates need to be combined with each other
| virtual void Vertica::UDXObject::destroy | ( | ServerInterface & | srvInterface, | |
| const SizedColumnTypes & | argTypes | |||
| ) | [inline, virtual, inherited] |
Perform per instance destruction. This function may throw errors
| virtual void Vertica::AggregateFunction::initAggregate | ( | ServerInterface & | srvInterface, | |
| IntermediateAggs & | aggs | |||
| ) | [pure virtual] |
Called by the server to set the starting values of the Intermediate aggregates.
| virtual void Vertica::UDXObject::setup | ( | ServerInterface & | srvInterface, | |
| const SizedColumnTypes & | argTypes | |||
| ) | [inline, virtual, inherited] |
Perform per instance initialization. This function may throw errors.
| virtual void Vertica::AggregateFunction::terminate | ( | ServerInterface & | srvInterface, | |
| BlockWriter & | res_writer, | |||
| IntermediateAggs & | aggs | |||
| ) | [pure virtual] |
Called by the server to get the output to the aggregate function
| void Vertica::AggregateFunction::updateCols | ( | BlockReader & | arg_reader, | |
| char * | arg, | |||
| int | count, | |||
| IntermediateAggs & | intAggs, | |||
| char * | aggPtr, | |||
| std::vector< int > & | intOffsets | |||
| ) | [static] |
Helper function for aggregateArrs.