Package com.orchestranetworks.addon.dqid
Class ReportingUtilities
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.ReportingUtilities
-
public final class ReportingUtilities extends java.lang.Object
Offers accessors to the reporting.- Since:
- 1.4.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.onwbp.adaptation.Adaptation>
getCorrelatedWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation correlatedWatchdogReportRecord)
Returns theWatchdog indicator report
request result for aCorrelated watchdog indicator report
record.com.onwbp.adaptation.RequestResult
getFlatDataResult(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, java.lang.String predicate)
Returns the request result from theFlat data report
table by specifying a predicate.static ReportingUtilities
getFromRepository(com.orchestranetworks.instance.Repository repository)
Creates an instance of this class.com.onwbp.adaptation.RequestResult
getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord)
Returns theLinked record
request result for aBig data report
orFlat data
record.com.onwbp.adaptation.RequestResult
getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord, java.util.Collection<com.orchestranetworks.schema.Path> reportingPaths)
Returns theLinked record
request result for aFlat data report
or Big data report record that matches the specified paths.com.onwbp.adaptation.RequestResult
getResultOfBigDataReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, java.lang.String predicate)
Returns the request result from theBig data report
table by specifying a predicate.com.onwbp.adaptation.RequestResult
getResultOfIndicatorReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, java.lang.String predicate)
Returns the request result from theIndicator report
table by specifying a predicate.com.onwbp.adaptation.RequestResult
getResultOfIndicatorValue(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, java.lang.String predicate)
Returns the request result from theIndicator value
by specifying a predicate.java.util.List<com.onwbp.adaptation.Adaptation>
getWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation reportingRecord)
Returns theWatchdog indicator report
request result for aFlat data report
orBig data report
record.
-
-
-
Method Detail
-
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, java.lang.String predicate) throws DQIdException
Returns the request result from theBig data report
table by specifying a predicate.- Parameters:
storageHomeKey
- TheHomeKey
storage data space.storageDatasetName
- TheAdaptationName
of the storage data set.predicate
- The predicate to filter theFlat data report
table.- 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, java.lang.String predicate) throws DQIdException
Returns the request result from theFlat data report
table by specifying a predicate.- Parameters:
storageHomeKey
- TheHomeKey
storage data space.storageDatasetName
- TheAdaptationName
of the storage data set.predicate
- The predicate to filter theFlat data report
table.- 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, java.lang.String predicate) throws DQIdException
Returns the request result from theIndicator report
table by specifying a predicate.- Parameters:
storageHomeKey
- TheHomeKey
storage data space.storageDatasetName
- TheAdaptationName
of the storage data set.predicate
- The predicate to filter theIndicator report
table.- 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, java.lang.String predicate) throws DQIdException
Returns the request result from theIndicator value
by specifying a predicate.- Parameters:
storageHomeKey
- TheHomeKey
storage data space.storageDatasetName
- TheAdaptationName
of the storage data set.predicate
- The predicate to filter theIndicator value
table.- 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 record
request result for aBig data report
orFlat data
record.- Parameters:
reportingRecord
- The target reporting record.- Throws:
java.lang.IllegalArgumentException
- If the reporting record is not found.DQIdException
- See Also:
getRelevantRecords(Adaptation, Collection)
-
getRelevantRecords
public com.onwbp.adaptation.RequestResult getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord, java.util.Collection<com.orchestranetworks.schema.Path> reportingPaths)
Returns theLinked record
request result for aFlat data report
or Big data report record that matches the specified paths.- Parameters:
reportingRecord
- The target reporting record.reportingPaths
- Reporting paths to filterLinked item
records.- Throws:
java.lang.IllegalArgumentException
- If the reporting record is not found.
-
getWatchdogIndicatorReports
public java.util.List<com.onwbp.adaptation.Adaptation> getWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation reportingRecord)
Returns theWatchdog indicator report
request result for aFlat data report
orBig data report
record.- Parameters:
reportingRecord
- The target reporting record.- Throws:
java.lang.IllegalArgumentException
- If the reporting record is not found.- Since:
- 1.5.0
-
getCorrelatedWatchdogIndicatorReports
public java.util.List<com.onwbp.adaptation.Adaptation> getCorrelatedWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation correlatedWatchdogReportRecord)
Returns theWatchdog indicator report
request result for aCorrelated watchdog indicator report
record.- Parameters:
correlatedWatchdogReportRecord
- The target correlated watchdog report record.- Throws:
java.lang.IllegalArgumentException
- If the correlated watchdog report is not found.- Since:
- 1.5.0
-
-