Weighting
HasAppliedMainWeightT()
Query whether a summation field has an applied main weight in the given tabulation job.
Available To |
|
|
|
|---|
HasAppliedMainWeightT(JobInfoT* JobInfo,int Dimension, int FieldOffset)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
HasAppliedReplicateWeightsT()
Query whether a summation field has applied replicate weights in the given tabulation job.
Available To |
|
|
|
|---|
HasAppliedReplicateWeightsT(JobInfoT* JobInfo,int Dimension, int FieldOffset)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
GetAppliedReplicateWeightsT()
Retrieve the names of the replicate weights for the given summation field in the given tabulation job. The order of the names will be the same as the order of retrieved replicate weight values for a given cell.
Available To |
|
|
|
|---|
GetAppliedReplicateWeightsT(JobInfoT* JobInfo,int Dimension, int FieldOffset, const char*** Replicates,int* Len)
Arguments |
| |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
HasAppliedMainWeightOnDefaultSummationT()
Query whether the default summation field has an applied main weight in the given tabulation job. This function must be used when the given tabulation job does not have an explicitly added summation.
Available To |
|
|
|
|---|
HasAppliedMainWeightOnDefaultSummationT(JobInfoT* JobInfo)
Arguments |
| ||||
|---|---|---|---|---|---|
Returns |
|
GetAppliedMainWeightOnDefaultSummationT()
Retrieve the name of the main weight for the given summation field in the given tabulation job. This function must be used when the given tabulation job does not have an explicitly added summation.
Available To |
|
|
|
|---|
GetAppliedMainWeightOnDefaultSummationT(JobInfoT* JobInfo,const char** MainWeight)
Arguments |
| ||||||
|---|---|---|---|---|---|---|---|
Returns |
|
HasAppliedReplicateWeightsOnDefaultSummationT()
Query whether the default summation field in the given tabulation job has applied replicate weights.
Available To |
|
|
|
|---|
HasAppliedReplicateWeightsOnDefaultSummationT(JobInfoT* JobInfo)
Arguments |
| ||||
|---|---|---|---|---|---|
Returns |
|
GetAppliedReplicateWeightsOnDefaultSummationT()
Retrieve the names of the replicate weights for the given summation field in the given tabulation job. The order of the names is the same as the order of retrieved values of replicate weights for a given cell. This function must be used when the given tabulation job doesn't have an explicitly added summation.
Available To |
|
|
|
|---|
GetAppliedReplicateWeightsOnDefaultSummationT(JobInfoT* JobInfo,const char*** Replicates, int* Len)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
GetCurrentCellReplicateWeightValuesT()
Retrieve the values of replicate weights for the current cell in the given tabulation job. The order of the values will be the same as the order of retrieved replicate weight names for the current cell.
The lifetime of the returned value of const double** may last up to the next function call. However, if your client code needs to maintain the returned value in the scope of the tabulation job, the client should make a copy of the returned value.
Available To |
|
|
|
|---|
GetCurrentCellReplicateWeightValuesT(JobInfoT *JobInfo, const double** Values, int* Len)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
GetCellReplicateWeightValuesT()
Retrieve the values of replicate weights for the given cell in the given tabulation job. The order of the values will be the same as the order of retrieved replicate weight names for the given cell.
The lifetime of the returned value of const double** may last up to the next function call. However, if your client code needs to maintain the returned value in the scope of the tabulation job, the client should make a copy of the returned value.
Available To |
|
|
|
|---|
GetCellReplicateWeightValuesT(JobInfoT *JobInfo, int* DimensionItems, const double** Values, int* Len)
Arguments |
| ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
GetSumMainWeightTableT()
Retrieve the sum of the main weight in specified table.
Available To |
|
|
|
|---|
GetSumMainWeightTableT(JobInfoT *JobInfo, const char * tableName, double* result)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
GetWeightedTableIdentifiersT()
Retrieve the table IDs for a weighted table.
Available To |
|
|
|
|---|
GetWeightedTableIdentifiersT(JobInfoT* JobInfo, const char*** TableIds, int* Len)
Arguments |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|
GetDefaultMainWeightFieldIdentifierT()
Retrieve the ID of the default main weight for a given fact table.
Available To |
|
|
|
|---|
GetDefaultMainWeightFieldIdentifierT(JobInfoT* JobInfo, const char* table)
Arguments |
| ||||||
|---|---|---|---|---|---|---|---|
Returns | The ID of the default main weight field, or NULL if the field does not exist. |
GetDefaultReplicateWeightFieldIdentifiersT()
Retrieve the default replicate weight field IDs.
Available To |
|
|
|
|---|
GetDefaultReplicateWeightFieldIdentifiersT(JobInfoT* JobInfo, const char* table, const char*** Replicates, int* Len)
Arguments |
| ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|