wxSQLite3 4.9.11
|
Interface for user defined aggregate functions. More...
#include <wxsqlite3.h>
Public Member Functions | |
wxSQLite3AggregateFunction () | |
Constructor. | |
virtual | ~wxSQLite3AggregateFunction () |
Virtual destructor. | |
virtual void | Aggregate (wxSQLite3FunctionContext &ctx)=0 |
Execute the aggregate of the function. | |
virtual void | Finalize (wxSQLite3FunctionContext &ctx)=0 |
Prepare the result of the aggregate function. | |
Friends | |
class | wxSQLite3FunctionContext |
Interface for user defined aggregate functions.
|
inline |
Constructor.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Execute the aggregate of the function.
This method is invoked for each row of the result set of the query using the aggregate function.
ctx | function context which can be used to access arguments and result value |
|
pure virtual |
Prepare the result of the aggregate function.
This method is invoked after all rows of the result set of the query using the aggregate function have been processed. Usually the final result is calculated and returned in this method.
ctx | function context which can be used to access arguments and result value |
|
friend |