Package com.orchestranetworks.addon.dqid
Class ReportingUtilities
java.lang.Object
com.orchestranetworks.addon.dqid.ReportingUtilities
Offers accessors to the reporting.
- Since:
- 1.4.0
-
Method Summary
Modifier and TypeMethodDescriptionList<com.onwbp.adaptation.Adaptation>getCorrelatedWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation correlatedWatchdogReportRecord) Returns theWatchdog indicator reportrequest result for aCorrelated watchdog indicator reportrecord.com.onwbp.adaptation.RequestResultgetFlatDataResult(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) Returns the request result from theFlat data reporttable by specifying a predicate.static ReportingUtilitiesgetFromRepository(com.orchestranetworks.instance.Repository repository) Creates an instance of this class.com.onwbp.adaptation.RequestResultgetRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord) Returns theLinked recordrequest result for aBig data reportorFlat datarecord.com.onwbp.adaptation.RequestResultgetRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord, Collection<com.orchestranetworks.schema.Path> reportingPaths) Returns theLinked recordrequest result for aFlat data reportor Big data report record that matches the specified paths.com.onwbp.adaptation.RequestResultgetResultOfBigDataReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) Returns the request result from theBig data reporttable by specifying a predicate.com.onwbp.adaptation.RequestResultgetResultOfIndicatorReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) Returns the request result from theIndicator reporttable by specifying a predicate.com.onwbp.adaptation.RequestResultgetResultOfIndicatorValue(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) Returns the request result from theIndicator valueby specifying a predicate.List<com.onwbp.adaptation.Adaptation>getWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation reportingRecord) Returns theWatchdog indicator reportrequest result for aFlat data reportorBig data reportrecord.
-
Method Details
-
getFromRepository
public static ReportingUtilities getFromRepository(com.orchestranetworks.instance.Repository repository) Creates an instance of this class.- Parameters:
repository- The current repository.
-
getResultOfBigDataReport
public com.onwbp.adaptation.RequestResult getResultOfBigDataReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException Returns the request result from theBig data reporttable by specifying a predicate.- Parameters:
storageHomeKey- TheHomeKeystorage data space.storageDatasetName- TheAdaptationNameof the storage data set.predicate- The predicate to filter theFlat data reporttable.- Throws:
DQIdException- If the target storage is not found.
-
getFlatDataResult
public com.onwbp.adaptation.RequestResult getFlatDataResult(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException Returns the request result from theFlat data reporttable by specifying a predicate.- Parameters:
storageHomeKey- TheHomeKeystorage data space.storageDatasetName- TheAdaptationNameof the storage data set.predicate- The predicate to filter theFlat data reporttable.- Throws:
DQIdException- If the target storage is not found.- Since:
- 2.0.0
-
getResultOfIndicatorReport
public com.onwbp.adaptation.RequestResult getResultOfIndicatorReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException Returns the request result from theIndicator reporttable by specifying a predicate.- Parameters:
storageHomeKey- TheHomeKeystorage data space.storageDatasetName- TheAdaptationNameof the storage data set.predicate- The predicate to filter theIndicator reporttable.- Throws:
DQIdException- If the target storage is not found.
-
getResultOfIndicatorValue
public com.onwbp.adaptation.RequestResult getResultOfIndicatorValue(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException Returns the request result from theIndicator valueby specifying a predicate.- Parameters:
storageHomeKey- TheHomeKeystorage data space.storageDatasetName- TheAdaptationNameof the storage data set.predicate- The predicate to filter theIndicator valuetable.- Throws:
DQIdException- If the target storage is not found.
-
getRelevantRecords
public com.onwbp.adaptation.RequestResult getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord) throws DQIdException Returns theLinked recordrequest result for aBig data reportorFlat datarecord.- Parameters:
reportingRecord- The target reporting record.- Throws:
IllegalArgumentException- If the reporting record is not found.DQIdException- See Also:
-
getRelevantRecords
public com.onwbp.adaptation.RequestResult getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord, Collection<com.orchestranetworks.schema.Path> reportingPaths) Returns theLinked recordrequest result for aFlat data reportor Big data report record that matches the specified paths.- Parameters:
reportingRecord- The target reporting record.reportingPaths- Reporting paths to filterLinked itemrecords.- Throws:
IllegalArgumentException- If the reporting record is not found.
-
getWatchdogIndicatorReports
public List<com.onwbp.adaptation.Adaptation> getWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation reportingRecord) Returns theWatchdog indicator reportrequest result for aFlat data reportorBig data reportrecord.- Parameters:
reportingRecord- The target reporting record.- Throws:
IllegalArgumentException- If the reporting record is not found.- Since:
- 1.5.0
-