Package com.orchestranetworks.addon.dqid
Class IndicatorReportAccessor
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.IndicatorReportAccessor
-
public final class IndicatorReportAccessor extends java.lang.ObjectRetrieves specific data in theIndicator reporttable and theIndicator valuetable fromIndicatorExecutionContext.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.adaptation.PrimaryKeygetPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext executionContext)Returns the primary key of the latest corresponding record in theIndicator reporttable.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 valuetable.
-
-
-
Method Detail
-
getPrimaryKeyOrNullOfLatestRecord
public final com.onwbp.adaptation.PrimaryKey getPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext executionContext)
Returns the primary key of the latest corresponding record in theIndicator reporttable.- 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 DQIdExceptionReturns the mapping between the order (IndicatorValue.getOrder()) and the latest corresponding records in theIndicator valuetable.- Parameters:
indicatorReportPK- Result of thegetPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext)method.indicatorReport-IndicatorReportsequence-IndicatorValue.getSequence()- Throws:
DQIdException- If theIndicator reportrecord is not found.- See Also:
IndicatorDefinitionContext.saveLastValueOnlyInIndicatorReportTable()
-
-