Package com.orchestranetworks.addon.dqid
Class IndicatorReportAccessor
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.IndicatorReportAccessor
-
public final class IndicatorReportAccessor extends java.lang.Object
Retrieves specific data in theIndicator report
table and theIndicator value
table fromIndicatorExecutionContext
.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.adaptation.PrimaryKey
getPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext executionContext)
Returns the primary key of the latest corresponding record in theIndicator report
table.java.util.Map<java.lang.Integer,com.onwbp.adaptation.PrimaryKey>
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 Detail
-
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:
IndicatorDefinitionContext.saveLastValueOnlyOnReportingTable()
-
getPrimaryKeysOfLatestIndicatorValues
public final java.util.Map<java.lang.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:
IndicatorDefinitionContext.saveLastValueOnlyInIndicatorReportTable()
-
-