OpenM++ runtime library (libopenm)
|
output table writer public interface More...
#include <dbOutputTable.h>
Public Member Functions | |
virtual size_t | sizeOf (void) const noexcept=0 |
return total number of values for each accumulator More... | |
virtual int | expressionCount (void) const noexcept=0 |
return number of output aggregated expressions More... | |
virtual void | writeAccumulator (IDbExec *i_dbExec, int i_subId, int i_accId, size_t i_size, const double *i_valueArr)=0 |
write output table accumulator values More... | |
virtual void | writeAllExpressions (IDbExec *i_dbExec)=0 |
write all output table values: aggregate sub-values using table expressions More... | |
virtual void | digestOutput (IDbExec *i_dbExec)=0 |
calculate output table values digest and store only single copy of output values More... | |
Static Public Member Functions | |
static IOutputTableWriter * | create (int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, int i_subCount, bool i_isSparse=false, double i_nullValue=FLT_MIN) |
output table writer factory to write accumulators | |
static IOutputTableWriter * | create (int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, int i_subCount, const char *i_doubleFormat="") |
output table writer factory to write expressions | |
static size_t | sizeOf (const MetaHolder *i_metaStore, int i_tableId) |
return total number of values for each accumulator | |
output table writer public interface
|
pure virtual |
calculate output table values digest and store only single copy of output values
Implemented in openm::OutputTableWriter.
|
pure virtualnoexcept |
return number of output aggregated expressions
Implemented in openm::OutputTableWriter.
|
pure virtualnoexcept |
return total number of values for each accumulator
Implemented in openm::OutputTableWriter.
|
pure virtual |
write output table accumulator values
[in] | i_dbExec | database connection |
[in] | i_subId | sub-value index |
[in] | i_size | number of values for each accumulator |
[in] | i_accId | accumulator number for the output table (zero based) |
[in] | i_valueArr | array of accumulator values |
Implemented in openm::OutputTableWriter.
|
pure virtual |
write all output table values: aggregate sub-values using table expressions
Implemented in openm::OutputTableWriter.