Package com.orchestranetworks.addon.dqid
Class IndicatorReportAccessor
java.lang.Object
com.orchestranetworks.addon.dqid.IndicatorReportAccessor
Retrieves specific data in the
Indicator report
table and the Indicator value
table from IndicatorExecutionContext
.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionfinal com.onwbp.adaptation.PrimaryKey
getPrimaryKeyOrNullOfLatestRecord
(IndicatorExecutionContext executionContext) Returns the primary key of the latest corresponding record in theIndicator report
table.getPrimaryKeysOfLatestIndicatorValues
(com.onwbp.adaptation.PrimaryKey indicatorReportPK, IndicatorReport indicatorReport, int sequence) Returns the mapping between the order (IndicatorValue.getOrder()
) and the latest corresponding records in theIndicator value
table.
-
Method Details
-
getPrimaryKeyOrNullOfLatestRecord
public final com.onwbp.adaptation.PrimaryKey getPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext executionContext) Returns the primary key of the latest corresponding record in theIndicator report
table.- Parameters:
executionContext
-IndicatorExecutionContext
- See Also:
-
getPrimaryKeysOfLatestIndicatorValues
public final Map<Integer,com.onwbp.adaptation.PrimaryKey> getPrimaryKeysOfLatestIndicatorValues(com.onwbp.adaptation.PrimaryKey indicatorReportPK, IndicatorReport indicatorReport, int sequence) throws DQIdException Returns the mapping between the order (IndicatorValue.getOrder()
) and the latest corresponding records in theIndicator value
table.- Parameters:
indicatorReportPK
- Result of thegetPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext)
method.indicatorReport
-IndicatorReport
sequence
-IndicatorValue.getSequence()
- Throws:
DQIdException
- If theIndicator report
record is not found.- See Also:
-