Tabulation Query
The following callback functions available to PreJob provide access to the tabulation query. These functions allow your module to modify the query before it is processed.
GetQualifiedWeightFieldIdentifierT()
Query the qualified weight field ID for the summation field specified by the Dimension and FieldOffset.
The default summation does not have a statistical function or an associated weight field.
Clients are responsible for creating and destroying QualifiedFieldIdentifierT itself but not its members (such as QualifiedFieldIdentifierT.m_TableIdentifier and QualifiedFieldIdentifierT.m_FieldIdentifier); these are managed by SuperSERVER.
Available To |
|
|---|
GetQualifiedWeightFieldIdentifierT(PreJobInfoT *JobInfo, int Dimension,int FieldOffset, QualifiedFieldIdentifierT* const QualifiedFieldIdentifier)
Arguments |
| ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
AppendSummationFieldT()
Append a summation field to the existing summation dimension.
If the job does not have an existing summation dimension, AppendSummationFieldT() will ensure the job contains the default summation with the added summation options on a new dimension in the query.
Available To |
|
|---|
AppendSummationFieldT(PreJobInfoT* JobInfo, const QualifiedFieldIdentifierT* FieldIdentifier)
Arguments |
| ||||||
|---|---|---|---|---|---|---|---|
Returns |
|
AppendSummationFieldWithStatisticFunctionT()
Append a summation field to the existing summation dimension and apply a statistic function to this summation field.
If the job does not have an existing summation dimension, AppendSummationFieldWithStatisticFunctionT() will ensure the job contains the default summation with the added summation options on a new dimension in the query, and apply a statistic function to this newly added summation field.
Available To |
|
|---|
AppendSummationFieldWithStatisticFunctionT(PreJobInfoT* JobInfo, const QualifiedFieldIdentifierT* FieldIdentifier, StatisticalFieldTypeE FunctionType)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
AppendSummationFieldWithWeightedStatisticFunctionT()
Append a summation field to the existing summation dimension and apply a weighted statistic function to this summation field.
If the job does not have an existing summation dimension, AppendSummationFieldWithWeightedStatisticFunctionT() will ensure the job contains the default summation with the added summation options on a new dimension in the query, and apply a weighted statistic function to this newly added summation field.
Available To |
|
|---|
AppendSummationFieldWithWeightedStatisticFunctionT(PreJobInfoT* JobInfo, const QualifiedFieldIdentifierT* FieldIdentifier, StatisticalFieldTypeE FunctionType, const QualifiedFieldIdentifierT* WeightFieldIdentifier)
Arguments |
| ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
GetDefaultSummationFactTableIdentifierT()
Retrieve the ID of the fact table that the default summation belongs to.
Available To |
|
|---|
GetDefaultSummationFactTableIdentifierT(PreJobInfoT *JobInfo)
Arguments |
| |||
|---|---|---|---|---|
Returns | The table ID or NULL on failure. |
GetDefaultSummationFactTableLabelT()
Retrieve the label of the fact table that the default summation belongs to.
Available To |
|
|---|
GetDefaultSummationFactTableLabelT(PreJobInfoT *JobInfo)
Arguments |
| |||
|---|---|---|---|---|
Returns | The table label or NULL on failure. |
GetDimensionFieldFactTableLabelT()
Retrieve the label of the fact table that the specific field belongs to.
Available To |
|
|---|
GetDimensionFieldFactTableLabelT(PreJobInfoT *JobInfo, int Dimension, int FieldOffset)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns | The table label, or NULL on failure. |
GetLastFunctionStatusT()
Query the status code and message for the most recently executed function (excludes GetAPIVersionT()).
Available To |
|
|---|
GetLastFunctionStatusT(PreJobInfoT* JobInfo, const char** Message)
Arguments |
| ||||||
|---|---|---|---|---|---|---|---|
Returns | A status code. |