casacore
|
Class containing the results of aggregated values in a group. More...
#include <ExprGroup.h>
Public Member Functions | |
TableExprGroupFuncSet () | |
TableExprGroupFuncSet (const vector< TableExprNodeRep * > &aggrNodes) | |
Let the aggregate node objects construct the function set. | |
TableExprGroupFuncSet (const TableExprGroupFuncSet &)=delete | |
Copying is not needed, thus not allowed. | |
TableExprGroupFuncSet & | operator= (const TableExprGroupFuncSet &)=delete |
void | add (const std::shared_ptr< TableExprGroupFuncBase > &func) |
Add a function object. | |
void | apply (const TableExprId &id) |
Apply the functions to the given row. | |
const vector< std::shared_ptr< TableExprGroupFuncBase > > & | getFuncs () const |
Get the vector of functions. | |
const TableExprId & | getId () const |
Get the TableExprId. | |
Private Attributes | |
vector< std::shared_ptr< TableExprGroupFuncBase > > | itsFuncs |
TableExprId | itsId |
Class containing the results of aggregated values in a group.
Internal
This class contains the set of aggregate function objects containing all aggregate results of a particular GROUPBY group. It also contains the TableExprId of the last row in the group. It is used for possible non-aggregate expressions.
Definition at line 798 of file ExprGroup.h.
|
inline |
Definition at line 801 of file ExprGroup.h.
casacore::TableExprGroupFuncSet::TableExprGroupFuncSet | ( | const vector< TableExprNodeRep * > & | aggrNodes | ) |
Let the aggregate node objects construct the function set.
|
delete |
Copying is not needed, thus not allowed.
void casacore::TableExprGroupFuncSet::add | ( | const std::shared_ptr< TableExprGroupFuncBase > & | func | ) |
Add a function object.
void casacore::TableExprGroupFuncSet::apply | ( | const TableExprId & | id | ) |
Apply the functions to the given row.
|
inline |
|
inline |
|
delete |
|
private |
Definition at line 828 of file ExprGroup.h.
Referenced by getFuncs().
|
private |
Definition at line 829 of file ExprGroup.h.
Referenced by getId().