#include <Aggregate.h>
Inherited by CountAggregate, CountDistinct, FidComplianceLookthroughAndAgg, FidLateTrackerFunc, LRAccidentAggFunc1, LRAccidentAggFunc2, LRAvg, LRCarCount, LRSegmentStatisticsFunc2, and StandardAggregate< type >.
Public Types | |
typedef ::Registry< Aggregate > | Registry |
Public Member Functions | |
Aggregate () | |
virtual | ~Aggregate () |
virtual Window * | openWindow () |
virtual void | setup (const ExprContext &ctxt) throw (AuroraException) |
void | setArgs (const vector< ptr< Expression > > &args) |
int | numOutputFields () const |
TupleDescription::Field | getOutputField (unsigned int i) const |
unsigned int | getOutputSize () const |
TupleDescription | getOutputTupleDescription () const |
virtual const string | as_string () const |
Static Public Member Functions | |
ptr< Aggregate > | parse (string expr, const ExprContext &ctxt) throw (ExprException) |
Protected Member Functions | |
void | addOutputField (TupleDescription::Field field) |
void | addInt32OutputField (string name=string()) |
void | addInt64OutputField (string name=string()) |
void | addSingleOutputField (string name=string()) |
void | addDoubleOutputField (string name=string()) |
void | addStringOutputField (unsigned int length) |
void | addStringOutputField (string name, unsigned int length) |
Expression & | arg (unsigned int index) const |
unsigned int | numArgs () const |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in CountAggregate, StandardAggregate< type >, and CountDistinct.
|
|
|
|
|
|
Reimplemented in CountAggregate, StandardAggregate< type >, and CountDistinct.
|