public interface MeasurementDataSourceWrapper
Modifier and Type | Method and Description |
---|---|
void |
close() |
net.sf.jasperreports.engine.JRRewindableDataSource |
createDataSource(String query)
Creates a
JRRewindableDataSource according to the provided query. |
net.sf.jasperreports.engine.JRRewindableDataSource createDataSource(String query) throws net.sf.jasperreports.engine.JRException
JRRewindableDataSource
according to the provided query.query
- The query to execute. Should be a OpenNMS Measurement API parsable QueryRequest
. It may be null, but not empty.net.sf.jasperreports.engine.JRException
- In any error situation. RuntimeException are not catched and may be thrown in addition.void close()
Copyright © 2021. All rights reserved.