org.jfree.report.data
public class CachingReportDataFactory extends java.lang.Object implements ReportDataFactory
Constructor and Description |
---|
CachingReportDataFactory(ReportDataFactory backend) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the report data factory and all report data instances that have been returned by this instance.
|
ReportDataFactory |
derive()
Derives a freshly initialized report data factory, which is independend of the original data factory.
|
void |
open() |
ReportData |
queryData(java.lang.String query,
DataSet parameters)
Queries a datasource.
|
public CachingReportDataFactory(ReportDataFactory backend)
public void open()
open
in interface ReportDataFactory
public ReportData queryData(java.lang.String query, DataSet parameters) throws ReportDataFactoryException
queryData
in interface ReportDataFactory
query
- parameters
- ReportDataFactoryException
public void close()
close
in interface ReportDataFactory
public ReportDataFactory derive()
derive
in interface ReportDataFactory