public final class ReportingUtilities extends Object
Modifier and Type | Method and Description |
---|---|
List<com.onwbp.adaptation.Adaptation> |
getCorrelatedWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation correlatedWatchdogReportRecord)
Returns the
Watchdog indicator report request result for a Correlated watchdog indicator report record. |
com.onwbp.adaptation.RequestResult |
getFlatDataResult(com.orchestranetworks.instance.HomeKey storageHomeKey,
com.onwbp.adaptation.AdaptationName storageDatasetName,
String predicate)
Returns the request result from the
Flat 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 the
Linked record request result for a Big data report or Flat data record. |
com.onwbp.adaptation.RequestResult |
getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord,
Collection<com.orchestranetworks.schema.Path> reportingPaths)
Returns the
Linked record request result for a Flat 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,
String predicate)
Returns the request result from the
Big data report table by specifying a predicate. |
com.onwbp.adaptation.RequestResult |
getResultOfIndicatorReport(com.orchestranetworks.instance.HomeKey storageHomeKey,
com.onwbp.adaptation.AdaptationName storageDatasetName,
String predicate)
Returns the request result from the
Indicator report table by specifying a predicate. |
com.onwbp.adaptation.RequestResult |
getResultOfIndicatorValue(com.orchestranetworks.instance.HomeKey storageHomeKey,
com.onwbp.adaptation.AdaptationName storageDatasetName,
String predicate)
Returns the request result from the
Indicator value by specifying a predicate. |
List<com.onwbp.adaptation.Adaptation> |
getWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation reportingRecord)
Returns the
Watchdog indicator report request result for a Flat data report or Big data report record. |
public static ReportingUtilities getFromRepository(com.orchestranetworks.instance.Repository repository)
repository
- The current repository.public com.onwbp.adaptation.RequestResult getResultOfBigDataReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException
Big data report
table by specifying a predicate.storageHomeKey
- The HomeKey
storage data space.storageDatasetName
- The AdaptationName
of the storage data set.predicate
- The predicate to filter the Flat data report
table.DQIdException
- If the target storage is not found.public com.onwbp.adaptation.RequestResult getFlatDataResult(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException
Flat data report
table by specifying a predicate.storageHomeKey
- The HomeKey
storage data space.storageDatasetName
- The AdaptationName
of the storage data set.predicate
- The predicate to filter the Flat data report
table.DQIdException
- If the target storage is not found.public com.onwbp.adaptation.RequestResult getResultOfIndicatorReport(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException
Indicator report
table by specifying a predicate.storageHomeKey
- The HomeKey
storage data space.storageDatasetName
- The AdaptationName
of the storage data set.predicate
- The predicate to filter the Indicator report
table.DQIdException
- If the target storage is not found.public com.onwbp.adaptation.RequestResult getResultOfIndicatorValue(com.orchestranetworks.instance.HomeKey storageHomeKey, com.onwbp.adaptation.AdaptationName storageDatasetName, String predicate) throws DQIdException
Indicator value
by specifying a predicate.storageHomeKey
- The HomeKey
storage data space.storageDatasetName
- The AdaptationName
of the storage data set.predicate
- The predicate to filter the Indicator value
table.DQIdException
- If the target storage is not found.public com.onwbp.adaptation.RequestResult getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord) throws DQIdException
Linked record
request result for a Big data report
or Flat data
record.reportingRecord
- The target reporting record.IllegalArgumentException
- If the reporting record is not found.DQIdException
getRelevantRecords(Adaptation, Collection)
public com.onwbp.adaptation.RequestResult getRelevantRecords(com.onwbp.adaptation.Adaptation reportingRecord, Collection<com.orchestranetworks.schema.Path> reportingPaths)
Linked record
request result for a Flat data report
or Big data report record that matches the specified paths.reportingRecord
- The target reporting record.reportingPaths
- Reporting paths to filter Linked item
records.IllegalArgumentException
- If the reporting record is not found.public List<com.onwbp.adaptation.Adaptation> getWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation reportingRecord)
Watchdog indicator report
request result for a Flat data report
or Big data report
record.reportingRecord
- The target reporting record.IllegalArgumentException
- If the reporting record is not found.public List<com.onwbp.adaptation.Adaptation> getCorrelatedWatchdogIndicatorReports(com.onwbp.adaptation.Adaptation correlatedWatchdogReportRecord)
Watchdog indicator report
request result for a Correlated watchdog indicator report
record.correlatedWatchdogReportRecord
- The target correlated watchdog report record.IllegalArgumentException
- If the correlated watchdog report is not found.