Skip to content

What is a Consolidated Data Point processor?



consolidated post processor

Apiro's predefined consolidated data point processors are common operations used to aggregate all the raw data points into the schema's single consolidated data point. This is done during the consolidation pipeline phase.

Below is an example of a GEN EXPRESS processor which will execute a general expression during the consolidation phase:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<dataPoint name="ISIN" dataType="STRING">
    <consDPProcessor name="ISIN_AGGREGATOR" execPriority="5" entity="GEN_EXPRESS">
        <config>
            <![CDATA[
                #GRV{
                    CTX['.'] = CTX.DDX ( 'ASX_CODE_ISIN' , ['ASX_CODE' : CTX['code'] ], 'ISIN_CODE')
                }
            ]]>
        </config>
    </consDPProcessor>
</dataPoint>

The above GEN EXPRESS processor performs a cross schema search on the "ASX_CODE_ISIN" schema where it retrieves the schema's "ISIN_CODE" data point value if the foreign schemas "code" data point matches the value of the local schema's "ASX_CODE" data point value.

NOTE: anywhere where {} with empty "{}" brackets appear, assume that config is optional and can be ignored in the majority of cases. The same applies where no element is shown in configuration.

Here are the existing consolidated data point processors: