Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Aggregate Class Reference

#include <Aggregate.h>

Inherited by CountAggregate, CountDistinct, FidComplianceLookthroughAndAgg, FidLateTrackerFunc, LRAccidentAggFunc1, LRAccidentAggFunc2, LRAvg, LRCarCount, LRSegmentStatisticsFunc2, and StandardAggregate< type >.

List of all members.

Public Types

typedef ::Registry< AggregateRegistry

Public Member Functions

 Aggregate ()
virtual ~Aggregate ()
virtual WindowopenWindow ()
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< Aggregateparse (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)
Expressionarg (unsigned int index) const
unsigned int numArgs () const


Member Typedef Documentation

typedef ::Registry<Aggregate> Aggregate::Registry
 


Constructor & Destructor Documentation

Aggregate::Aggregate  ) 
 

virtual Aggregate::~Aggregate  )  [virtual]
 


Member Function Documentation

void Aggregate::addDoubleOutputField string  name = string()  )  [protected]
 

void Aggregate::addInt32OutputField string  name = string()  )  [protected]
 

void Aggregate::addInt64OutputField string  name = string()  )  [protected]
 

void Aggregate::addOutputField TupleDescription::Field  field  )  [protected]
 

void Aggregate::addSingleOutputField string  name = string()  )  [protected]
 

void Aggregate::addStringOutputField string  name,
unsigned int  length
[protected]
 

void Aggregate::addStringOutputField unsigned int  length  )  [protected]
 

Expression& Aggregate::arg unsigned int  index  )  const [protected]
 

virtual const string Aggregate::as_string  )  const [virtual]
 

TupleDescription::Field Aggregate::getOutputField unsigned int  i  )  const
 

unsigned int Aggregate::getOutputSize  )  const
 

TupleDescription Aggregate::getOutputTupleDescription  )  const
 

unsigned int Aggregate::numArgs  )  const [protected]
 

int Aggregate::numOutputFields  )  const
 

virtual Window* Aggregate::openWindow  )  [virtual]
 

Reimplemented in CountAggregate, StandardAggregate< type >, and CountDistinct.

ptr< Aggregate > Aggregate::parse string  expr,
const ExprContext ctxt
throw (ExprException) [static]
 

void Aggregate::setArgs const vector< ptr< Expression > > &  args  ) 
 

virtual void Aggregate::setup const ExprContext ctxt  )  throw (AuroraException) [virtual]
 

Reimplemented in CountAggregate, StandardAggregate< type >, and CountDistinct.


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:23 2004 for Borealis by doxygen 1.3.8