Interface MeasurementDataSourceWrapper
-
- All Known Implementing Classes:
LocalMeasurementDataSourceWrapper
,RemoteMeasurementDataSourceWrapper
public interface MeasurementDataSourceWrapper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
net.sf.jasperreports.engine.JRRewindableDataSource
createDataSource(java.lang.String query)
Creates aJRRewindableDataSource
according to the provided query.
-
-
-
Method Detail
-
createDataSource
net.sf.jasperreports.engine.JRRewindableDataSource createDataSource(java.lang.String query) throws net.sf.jasperreports.engine.JRException
Creates aJRRewindableDataSource
according to the provided query.- Parameters:
query
- The query to execute. Should be a OpenNMS Measurement API parsableQueryRequest
. It may be null, but not empty.- Returns:
- The DataSource.
- Throws:
net.sf.jasperreports.engine.JRException
- In any error situation. RuntimeException are not catched and may be thrown in addition.
-
close
void close()
-
-