|
| CBMAggregatorPostgreSQLWriter (std::shared_ptr< flint::RecordAccumulatorWithMutex2< DateRow, DateRecord >> dateDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< PoolInfoRow, PoolInfoRecord >> poolInfoDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< ClassifierSetRow, ClassifierSetRecord >> classifierSetDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< LandClassRow, LandClassRecord >> landClassDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< TemporalLocationRow, TemporalLocationRecord >> locationDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< ModuleInfoRow, ModuleInfoRecord >> moduleInfoDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< DisturbanceTypeRow, DisturbanceTypeRecord >> disturbanceTypeDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< DisturbanceRow, DisturbanceRecord >> disturbanceDimension, std::shared_ptr< std::vector< std::string >> classifierNames, std::shared_ptr< flint::RecordAccumulatorWithMutex2< PoolRow, PoolRecord >> poolDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< FluxRow, FluxRecord >> fluxDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< AgeClassRow, AgeClassRecord >> ageClassDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< AgeAreaRow, AgeAreaRecord >> ageAreaDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< ErrorRow, ErrorRecord >> errorDimension, std::shared_ptr< flint::RecordAccumulatorWithMutex2< LocationErrorRow, LocationErrorRecord >> locationErrorDimension, bool isPrimary=false) |
|
virtual | ~CBMAggregatorPostgreSQLWriter ()=default |
|
void | configure (const DynamicObject &config) override |
|
void | subscribe (NotificationCenter ¬ificationCenter) override |
|
flint::ModuleTypes | moduleType () override |
|
void | doSystemInit () override |
|
void | doSystemShutdown () override |
|
virtual | ~CBMModuleBase ()=default |
|
void | onSystemInit () override |
|
void | onSystemShutdown () override |
|
void | onLocalDomainInit () override |
|
void | onLocalDomainShutdown () override |
|
void | onLocalDomainProcessingUnitInit () override |
|
void | onLocalDomainProcessingUnitShutdown () override |
|
void | onPreTimingSequence () override |
|
void | onTimingInit () override |
|
void | onTimingPrePostInit () override |
|
void | onTimingPostInit () override |
|
void | onTimingPostInit2 () override |
|
void | onTimingShutdown () override |
|
void | onTimingStep () override |
|
void | onTimingPreEndStep () override |
|
void | onTimingEndStep () override |
|
void | onTimingPostStep () override |
|
void | onOutputStep () override |
|
void | onPrePostDisturbanceEvent () override |
|
void | onPostDisturbanceEvent () override |
|
void | onPostDisturbanceEvent2 () override |
|
void | onError (std::string msg) override |
|
void | onDisturbanceEvent (DynamicVar e) override |
|
void | onPostNotification (short preMessageSignal) override |
|
virtual void | doLocalDomainInit () |
|
virtual void | doLocalDomainShutdown () |
|
virtual void | doLocalDomainProcessingUnitInit () |
|
virtual void | doLocalDomainProcessingUnitShutdown () |
|
virtual void | doPreTimingSequence () |
|
virtual void | doTimingInit () |
|
virtual void | doTimingPrePostInit () |
|
virtual void | doTimingPostInit () |
|
virtual void | doTimingPostInit2 () |
|
virtual void | doTimingShutdown () |
|
virtual void | doTimingStep () |
|
virtual void | doTimingPreEndStep () |
|
virtual void | doTimingEndStep () |
|
virtual void | doTimingPostStep () |
|
virtual void | doOutputStep () |
|
virtual void | doError (std::string msg) |
|
virtual void | doDisturbanceEvent (DynamicVar) |
|
virtual void | doPrePostDisturbanceEvent () |
|
virtual void | doPostDisturbanceEvent () |
|
virtual void | doPostDisturbanceEvent2 () |
|
virtual void | doPostNotification (short preMessageSignal) |
|
void doSystemShutdown |
( |
| ) |
|
|
overridevirtual |
If CBMAggregatorPostgreSQLWriter._isPrimaryAggregator, creates unlogged tables for the DateDimension, LandClassDimension,
PoolDimension, ClassifierSetDimension, ModuleInfoDimension, LocationDimension, DisturbanceTypeDimension,
DisturbanceDimension, Pools, Fluxes, ErrorDimension, AgeClassDimension, LocationErrorDimension,
and AgeArea if they do not already exist, and loads data into these tables on PostgreSQL.
- Returns
- void
Reimplemented from CBMModuleBase.