Uses of Interface
net.sf.jasperreports.engine.JRDataSource
-
Packages that use JRDataSource Package Description net.sf.jasperreports.data.cache Contains classes for data caching.net.sf.jasperreports.data.random Contains classes for empty data adapters.net.sf.jasperreports.engine Provides access to the library's main functionality through facade classes for compiling, filling and exporting reports and also publishes the library's main interfaces and classes.net.sf.jasperreports.engine.data Provides various report data source implementations and allows creating custom data sources.net.sf.jasperreports.engine.fill Contains fill time implementations for the library's main interfaces and the entire engine used in the filling process (the actual core of JasperReports).net.sf.jasperreports.engine.query Provides support for report queries and query executers.net.sf.jasperreports.engine.util Contains utility classes for the core library.net.sf.jasperreports.fastexcel net.sf.jasperreports.functions.standard net.sf.jasperreports.hibernate net.sf.jasperreports.j2ee.ejbql net.sf.jasperreports.j2ee.hibernate net.sf.jasperreports.jakarta.ejbql net.sf.jasperreports.jaxen.data net.sf.jasperreports.jaxen.query net.sf.jasperreports.json.data net.sf.jasperreports.json.query net.sf.jasperreports.olap Provides support for OLAP data sources and query executers.net.sf.jasperreports.olap.xmla Provides support for XML/A query executer, result and hierarchy.net.sf.jasperreports.poi.data net.sf.jasperreports.poi.query net.sf.jasperreports.xalan.data net.sf.jasperreports.xalan.query -
-
Uses of JRDataSource in net.sf.jasperreports.data.cache
Classes in net.sf.jasperreports.data.cache that implement JRDataSource Modifier and Type Class Description class
ColumnValuesDataSource
-
Uses of JRDataSource in net.sf.jasperreports.data.random
Classes in net.sf.jasperreports.data.random that implement JRDataSource Modifier and Type Class Description class
RandomDataSource
-
Uses of JRDataSource in net.sf.jasperreports.engine
Subinterfaces of JRDataSource in net.sf.jasperreports.engine Modifier and Type Interface Description interface
JRRewindableDataSource
This interface represents a data source which can go back to the first element.Classes in net.sf.jasperreports.engine that implement JRDataSource Modifier and Type Class Description class
JREmptyDataSource
A simple data source implementation that simulates a data source with a given number of virtual records inside.class
JRResultSetDataSource
This is a default implementation of theJRDataSource
interface.Methods in net.sf.jasperreports.engine that return JRDataSource Modifier and Type Method Description JRDataSource
JRDataSourceProvider. create(JasperReport report)
Creates and returns a new instance of the provided data source.Methods in net.sf.jasperreports.engine with parameters of type JRDataSource Modifier and Type Method Description void
JRDataSourceProvider. dispose(JRDataSource dataSource)
Disposes the data source previously obtained using thecreate
method.JasperPrint
JasperFillManager. fill(InputStream inputStream, Map<String,Object> parameters, JRDataSource dataSource)
Fills the compiled report design loaded from the supplied input stream and returns the generated report object.JasperPrint
JasperFillManager. fill(String sourceFileName, Map<String,Object> params, JRDataSource dataSource)
Fills the compiled report design loaded from the specified file and returns the generated report object.JasperPrint
JasperFillManager. fill(JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource)
Fills the compiled report design supplied as the first parameter and returns the generated report object.JasperPrint
JasperFillManager. fillFromRepo(String reportLocation, Map<String,Object> params, JRDataSource dataSource)
Fills the compiled report design loaded from the specified file and returns the generated report object.static JasperPrint
JasperFillManager. fillReport(InputStream inputStream, Map<String,Object> parameters, JRDataSource dataSource)
static JasperPrint
JasperFillManager. fillReport(String sourceFileName, Map<String,Object> params, JRDataSource dataSource)
static JasperPrint
JasperFillManager. fillReport(JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource)
static void
JasperFillManager. fillReportToFile(String sourceFileName, String destFileName, Map<String,Object> params, JRDataSource dataSource)
static String
JasperFillManager. fillReportToFile(String sourceFileName, Map<String,Object> params, JRDataSource dataSource)
static void
JasperFillManager. fillReportToFile(JasperReport jasperReport, String destFileName, Map<String,Object> parameters, JRDataSource dataSource)
static void
JasperFillManager. fillReportToStream(InputStream inputStream, OutputStream outputStream, Map<String,Object> parameters, JRDataSource dataSource)
static void
JasperFillManager. fillReportToStream(JasperReport jasperReport, OutputStream outputStream, Map<String,Object> parameters, JRDataSource dataSource)
void
JasperFillManager. fillToFile(String sourceFileName, String destFileName, Map<String,Object> params, JRDataSource dataSource)
Fills the compiled report design loaded from the file received as the first parameter and places the result in the file specified by the second parameter.String
JasperFillManager. fillToFile(String sourceFileName, Map<String,Object> params, JRDataSource dataSource)
Fills the compiled report design loaded from the specified file.void
JasperFillManager. fillToFile(JasperReport jasperReport, String destFileName, Map<String,Object> parameters, JRDataSource dataSource)
Fills the compiled report design received as the first parameter and places the result in the file specified by the second parameter.void
JasperFillManager. fillToStream(InputStream inputStream, OutputStream outputStream, Map<String,Object> parameters, JRDataSource dataSource)
Fills the compiled report design loaded from the supplied input stream and writes the generated report object to the output stream specified by the second parameter.void
JasperFillManager. fillToStream(JasperReport jasperReport, OutputStream outputStream, Map<String,Object> parameters, JRDataSource dataSource)
Fills the compiled report design supplied as the first parameter and writes the generated report object to the output stream specified by the second parameter.static void
JasperRunManager. runReportToHtmlFile(String sourceFileName, String destFileName, Map<String,Object> parameters, JRDataSource jrDataSource)
static String
JasperRunManager. runReportToHtmlFile(String sourceFileName, Map<String,Object> params, JRDataSource jrDataSource)
static byte[]
JasperRunManager. runReportToPdf(InputStream inputStream, Map<String,Object> parameters, JRDataSource jrDataSource)
static byte[]
JasperRunManager. runReportToPdf(String sourceFileName, Map<String,Object> parameters, JRDataSource jrDataSource)
static byte[]
JasperRunManager. runReportToPdf(JasperReport jasperReport, Map<String,Object> parameters, JRDataSource jrDataSource)
static void
JasperRunManager. runReportToPdfFile(String sourceFileName, String destFileName, Map<String,Object> parameters, JRDataSource jrDataSource)
static String
JasperRunManager. runReportToPdfFile(String sourceFileName, Map<String,Object> params, JRDataSource jrDataSource)
static void
JasperRunManager. runReportToPdfStream(InputStream inputStream, OutputStream outputStream, Map<String,Object> parameters, JRDataSource jrDataSource)
void
JasperRunManager. runToHtmlFile(String sourceFileName, String destFileName, Map<String,Object> parameters, JRDataSource jrDataSource)
Fills a report and saves it directly into a HTML file.String
JasperRunManager. runToHtmlFile(String sourceFileName, Map<String,Object> params, JRDataSource jrDataSource)
Fills a report and saves it directly into a HTML file.byte[]
JasperRunManager. runToPdf(InputStream inputStream, Map<String,Object> parameters, JRDataSource jrDataSource)
Fills a report and returns byte array object containing the report in PDF format.byte[]
JasperRunManager. runToPdf(String sourceFileName, Map<String,Object> parameters, JRDataSource jrDataSource)
Fills a report and sends it to an output stream in PDF format.byte[]
JasperRunManager. runToPdf(JasperReport jasperReport, Map<String,Object> parameters, JRDataSource jrDataSource)
Fills a report and returns byte array object containing the report in PDF format.void
JasperRunManager. runToPdfFile(String sourceFileName, String destFileName, Map<String,Object> parameters, JRDataSource jrDataSource)
Fills a report and saves it directly into a PDF file.String
JasperRunManager. runToPdfFile(String sourceFileName, Map<String,Object> params, JRDataSource jrDataSource)
Fills a report and saves it directly into a PDF file.void
JasperRunManager. runToPdfStream(InputStream inputStream, OutputStream outputStream, Map<String,Object> parameters, JRDataSource jrDataSource)
Fills a report and sends it directly to an OutputStream in PDF format. -
Uses of JRDataSource in net.sf.jasperreports.engine.data
Classes in net.sf.jasperreports.engine.data with type parameters of type JRDataSource Modifier and Type Class Description class
DataSourceCollection<D extends JRDataSource,P extends DataSourceProvider<D>>
interface
DataSourceProvider<D extends JRDataSource>
interface
HierarchicalDataSource<T extends JRDataSource>
Subinterfaces of JRDataSource in net.sf.jasperreports.engine.data Modifier and Type Interface Description interface
IndexedDataSource
JRDataSource
extension that can provide the record index at the current position.interface
JsonData<T extends JsonData<T>>
interface
RandomAccessDataSource
Classes in net.sf.jasperreports.engine.data that implement JRDataSource Modifier and Type Class Description class
AbstractXlsDataSource
This data source implementation reads an XLSX or XLS stream.class
AbstractXmlDataSource<T extends AbstractXmlDataSource<?>>
Abstract XML data source implementation that allows to access the data from a xml document using XPath expressions.class
ConsumedFirstRecordDataSource
class
DataSourceCollection<D extends JRDataSource,P extends DataSourceProvider<D>>
class
JRAbstractBeanDataSource
class
JRAbstractTextDataSource
Abstract text data source, containing methods used to parse text data into numerical or date values.class
JRBeanArrayDataSource
A data source implementation that wraps an array of JavaBean objects.class
JRBeanCollectionDataSource
A data source implementation that wraps a collection of JavaBean objects.class
JRCsvDataSource
This datasource implementation reads a CSV stream.class
JRMapArrayDataSource
class
JRMapCollectionDataSource
class
JRTableModelDataSource
class
JRXmlDataSource
XML data source implementation that allows to access the data from a xml document using XPath expressions.class
JsonDataCollection<D extends JsonData<D>>
class
ListOfArrayDataSource
class
RewindableDataSourceCollection<D extends JRRewindableDataSource>
Fields in net.sf.jasperreports.engine.data declared as JRDataSource Modifier and Type Field Description protected D
DataSourceCollection. currentDataSource
Methods in net.sf.jasperreports.engine.data that return JRDataSource Modifier and Type Method Description JRDataSource
JRCsvDataSourceProvider. create(JasperReport report)
Methods in net.sf.jasperreports.engine.data with parameters of type JRDataSource Modifier and Type Method Description void
JRCsvDataSourceProvider. dispose(JRDataSource dataSource)
Constructors in net.sf.jasperreports.engine.data with parameters of type JRDataSource Constructor Description ConsumedFirstRecordDataSource(JRDataSource dataSource)
-
Uses of JRDataSource in net.sf.jasperreports.engine.fill
Classes in net.sf.jasperreports.engine.fill that implement JRDataSource Modifier and Type Class Description class
SortedDataSource
Fields in net.sf.jasperreports.engine.fill declared as JRDataSource Modifier and Type Field Description protected JRDataSource
BaseFillHandle. dataSource
protected JRDataSource
JRFillDataset. dataSource
The data source.Methods in net.sf.jasperreports.engine.fill that return JRDataSource Modifier and Type Method Description JRDataSource
DatasetSortInfo. getOriginalDataSource()
JRDataSource
SortedDataSource. getOriginalDataSource()
Methods in net.sf.jasperreports.engine.fill with parameters of type JRDataSource Modifier and Type Method Description static AsynchronousFillHandle
AsynchronousFillHandle. createHandle(JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource)
static AsynchronousFillHandle
AsynchronousFillHandle. createHandle(JasperReportsContext jasperReportsContext, JasperReportSource reportSource, Map<String,Object> parameters, JRDataSource dataSource)
static AsynchronousFillHandle
AsynchronousFillHandle. createHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource)
Creates an asychronous filling handle.JasperPrint
BaseReportFiller. fill(Map<String,Object> parameterValues, JRDataSource ds)
static JasperPrint
JRFiller. fill(JasperReportsContext jasperReportsContext, JasperReportSource reportSource, Map<String,Object> parameters, JRDataSource dataSource)
static JasperPrint
JRFiller. fill(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource)
JasperPrint
ReportFiller. fill(Map<String,Object> parameters, JRDataSource dataSource)
protected void
BaseReportFiller. setDatasourceParameterValue(Map<String,Object> parameterValues, JRDataSource ds)
void
JRFillDataset. setDatasourceParameterValue(Map<String,Object> parameterValues, JRDataSource ds)
Sets the data source to be used.void
DatasetSortInfo. setOriginalDataSource(JRDataSource originalDataSource)
Method parameters in net.sf.jasperreports.engine.fill with type arguments of type JRDataSource Modifier and Type Method Description void
DatasetExecution. evaluateDataSource(JRBiConsumer<JRDataSource,Map<String,Object>> dataSourceConsumer)
Constructors in net.sf.jasperreports.engine.fill with parameters of type JRDataSource Constructor Description AsynchronousFillHandle(JasperReportsContext jasperReportsContext, JasperReportSource reportSource, Map<String,Object> parameters, JRDataSource dataSource, Connection conn)
AsynchronousFillHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource)
AsynchronousFillHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource, Connection conn)
BaseFillHandle(JasperReportsContext jasperReportsContext, JasperReportSource reportSource, Map<String,Object> parameters, JRDataSource dataSource, Connection conn)
BaseFillHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource, Connection conn)
-
Uses of JRDataSource in net.sf.jasperreports.engine.query
Methods in net.sf.jasperreports.engine.query that return JRDataSource Modifier and Type Method Description JRDataSource
JRCsvQueryExecuter. createDatasource()
JRDataSource
JREmptyQueryExecuter. createDatasource()
JRDataSource
JRJdbcQueryExecuter. createDatasource()
JRDataSource
JRQueryExecuter. createDatasource()
Executes the query and creates aJRDataSource
out of the result.JRDataSource
JRXPathQueryExecuter. createDatasource()
-
Uses of JRDataSource in net.sf.jasperreports.engine.util
Classes in net.sf.jasperreports.engine.util that implement JRDataSource Modifier and Type Class Description class
BookmarksFlatDataSource
-
Uses of JRDataSource in net.sf.jasperreports.fastexcel
Classes in net.sf.jasperreports.fastexcel that implement JRDataSource Modifier and Type Class Description class
FastExcelDataSource
This data source implementation reads an XLSX stream. -
Uses of JRDataSource in net.sf.jasperreports.functions.standard
Methods in net.sf.jasperreports.functions.standard that return JRDataSource Modifier and Type Method Description JRDataSource
ReportFunctions. ORIGINAL_DATA_SOURCE()
protected JRDataSource
ReportFunctions. originalDataSource()
JRDataSource
ReportFunctions. SUB_DATA_SOURCE()
JRDataSource
ReportFunctions. SUB_DATA_SOURCE(String expression)
-
Uses of JRDataSource in net.sf.jasperreports.hibernate
Classes in net.sf.jasperreports.hibernate that implement JRDataSource Modifier and Type Class Description class
JRHibernateAbstractDataSource
Base abstract Hibernate data source.class
JRHibernateIterateDataSource
Hibernate data source that usesorg.hibernate.Query.iterate()
.class
JRHibernateListDataSource
Hibernate data source that usesorg.hibernate.Query.list()
.class
JRHibernateScrollDataSource
Hibernate data source that usesorg.hibernate.Query.scroll()
.Methods in net.sf.jasperreports.hibernate that return JRDataSource Modifier and Type Method Description JRDataSource
JRHibernateQueryExecuter. createDatasource()
Creates an instance ofJRHibernateListDataSource
,JRHibernateIterateDataSource
orJRHibernateScrollDataSource
, depending on theprotected JRDataSource
JRHibernateQueryExecuter. createResultDatasource()
Creates a data source out of the query result. -
Uses of JRDataSource in net.sf.jasperreports.j2ee.ejbql
Classes in net.sf.jasperreports.j2ee.ejbql that implement JRDataSource Modifier and Type Class Description class
JRJpaDataSource
Java Persistence API data source that usesjavax.persistence.Query.getResultList()
.Methods in net.sf.jasperreports.j2ee.ejbql that return JRDataSource Modifier and Type Method Description JRDataSource
JRJpaQueryExecuter. createDatasource()
protected JRDataSource
JRJpaQueryExecuter. createResultDatasource()
Creates a data source out of the query result. -
Uses of JRDataSource in net.sf.jasperreports.j2ee.hibernate
Classes in net.sf.jasperreports.j2ee.hibernate that implement JRDataSource Modifier and Type Class Description class
JRHibernateAbstractDataSource
Base abstract Hibernate data source.class
JRHibernateIterateDataSource
Hibernate data source that usesorg.hibernate.Query.iterate()
.class
JRHibernateListDataSource
Hibernate data source that usesorg.hibernate.Query.list()
.class
JRHibernateScrollDataSource
Hibernate data source that usesorg.hibernate.Query.scroll()
.Methods in net.sf.jasperreports.j2ee.hibernate that return JRDataSource Modifier and Type Method Description JRDataSource
JRHibernateQueryExecuter. createDatasource()
Creates an instance ofJRHibernateListDataSource
,JRHibernateIterateDataSource
orJRHibernateScrollDataSource
, depending on theprotected JRDataSource
JRHibernateQueryExecuter. createResultDatasource()
Creates a data source out of the query result. -
Uses of JRDataSource in net.sf.jasperreports.jakarta.ejbql
Classes in net.sf.jasperreports.jakarta.ejbql that implement JRDataSource Modifier and Type Class Description class
JRJpaDataSource
Java Persistence API data source that usesjakarta.persistence.Query.getResultList()
.Methods in net.sf.jasperreports.jakarta.ejbql that return JRDataSource Modifier and Type Method Description JRDataSource
JRJpaQueryExecuter. createDatasource()
protected JRDataSource
JRJpaQueryExecuter. createResultDatasource()
Creates a data source out of the query result. -
Uses of JRDataSource in net.sf.jasperreports.jaxen.data
Classes in net.sf.jasperreports.jaxen.data that implement JRDataSource Modifier and Type Class Description class
JaxenXmlDataSource
-
Uses of JRDataSource in net.sf.jasperreports.jaxen.query
Methods in net.sf.jasperreports.jaxen.query that return JRDataSource Modifier and Type Method Description JRDataSource
JaxenXPathQueryExecuter. createDatasource()
-
Uses of JRDataSource in net.sf.jasperreports.json.data
Classes in net.sf.jasperreports.json.data that implement JRDataSource Modifier and Type Class Description class
JsonDataSource
JSON data source implementationclass
JsonQLDataSource
-
Uses of JRDataSource in net.sf.jasperreports.json.query
Methods in net.sf.jasperreports.json.query that return JRDataSource Modifier and Type Method Description JRDataSource
AbstractJsonQueryExecuter. createDatasource()
-
Uses of JRDataSource in net.sf.jasperreports.olap
Classes in net.sf.jasperreports.olap that implement JRDataSource Modifier and Type Class Description class
JRMondrianDataSource
class
JROlapDataSource
class
Olap4jDataSource
Methods in net.sf.jasperreports.olap that return JRDataSource Modifier and Type Method Description JRDataSource
JRMondrianQueryExecuter. createDatasource()
JRDataSource
Olap4jMondrianQueryExecuter. createDatasource()
-
Uses of JRDataSource in net.sf.jasperreports.olap.xmla
Methods in net.sf.jasperreports.olap.xmla that return JRDataSource Modifier and Type Method Description JRDataSource
JRXmlaQueryExecuter. createDatasource()
JRDataSource
Olap4jXmlaQueryExecuter. createDatasource()
-
Uses of JRDataSource in net.sf.jasperreports.poi.data
Classes in net.sf.jasperreports.poi.data that implement JRDataSource Modifier and Type Class Description class
AbstractPoiXlsDataSource
This data source implementation reads an XLSX or XLS stream.class
ExcelDataSource
This data source implementation reads an XLSX or XLS stream.class
JRXlsxDataSource
Deprecated.Replaced byExcelDataSource
.class
XlsDataSource
Deprecated.Replaced byExcelDataSource
. -
Uses of JRDataSource in net.sf.jasperreports.poi.query
Methods in net.sf.jasperreports.poi.query that return JRDataSource Modifier and Type Method Description JRDataSource
ExcelQueryExecuter. createDatasource()
JRDataSource
JRXlsxQueryExecuter. createDatasource()
Deprecated.JRDataSource
XlsQueryExecuter. createDatasource()
Deprecated. -
Uses of JRDataSource in net.sf.jasperreports.xalan.data
Classes in net.sf.jasperreports.xalan.data that implement JRDataSource Modifier and Type Class Description class
XalanXmlDataSource
-
Uses of JRDataSource in net.sf.jasperreports.xalan.query
Methods in net.sf.jasperreports.xalan.query that return JRDataSource Modifier and Type Method Description JRDataSource
XalanXPathQueryExecuter. createDatasource()
-