Interface MeasurementDataSourceWrapper

    • Method Detail

      • createDataSource

        net.sf.jasperreports.engine.JRRewindableDataSource createDataSource​(String query)
                                                                     throws net.sf.jasperreports.engine.JRException
        Creates a JRRewindableDataSource according to the provided query.
        Parameters:
        query - The query to execute. Should be a OpenNMS Measurement API parsable QueryRequest. 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()