Aggregate class counting number of rows in a group. More...
#include <ExprGroupAggrFunc.h>
Public Member Functions | |
TableExprGroupCountAll (TableExprNodeRep *node) | |
virtual | ~TableExprGroupCountAll () |
virtual void | apply (const TableExprId &id) |
Get the operand's value for the given row and apply it to the aggregation. | |
void | setResult (Int64 cnt) |
Set result in case it is known directly. |
Aggregate class counting number of rows in a group.
Internal
Aggregate class counting number of rows in a group.
Definition at line 52 of file ExprGroupAggrFunc.h.
casacore::TableExprGroupCountAll::TableExprGroupCountAll | ( | TableExprNodeRep * | node | ) | [explicit] |
virtual casacore::TableExprGroupCountAll::~TableExprGroupCountAll | ( | ) | [virtual] |
virtual void casacore::TableExprGroupCountAll::apply | ( | const TableExprId & | id | ) | [virtual] |
Get the operand's value for the given row and apply it to the aggregation.
This function should not be called for lazy classes.
Implements casacore::TableExprGroupFuncBase.
void casacore::TableExprGroupCountAll::setResult | ( | Int64 | cnt | ) | [inline] |
Set result in case it is known directly.
Definition at line 59 of file ExprGroupAggrFunc.h.
References casacore::TableExprGroupFuncInt::itsValue.