## 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.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.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.

- - ### Uses of JRDataSource in net.sf.jasperreports.data.cache

    Classes in net.sf.jasperreports.data.cache that implement JRDataSource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ColumnValuesDataSource`

  - ### Uses of JRDataSource in net.sf.jasperreports.engine

    Subinterfaces of JRDataSource in net.sf.jasperreports.engine
    Modifier and Type | Interface and 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 and 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 the `JRDataSource` interface.

    Methods in net.sf.jasperreports.engine that return JRDataSource
    Modifier and Type | Method and 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 and Description
    --- | ---
    `void` | JRDataSourceProvider.`dispose(JRDataSource dataSource)` Disposes the data source previously obtained using the `create` method.
    `JasperPrint` | JasperFillManager.`fill(java.io.InputStream inputStream, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)` Fills the compiled report design loaded from the supplied input stream and returns the generated report object.
    `JasperPrint` | JasperFillManager.`fill(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)` Fills the compiled report design supplied as the first parameter and returns the generated report object.
    `JasperPrint` | JasperFillManager.`fill(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource dataSource)` Fills the compiled report design loaded from the specified file and returns the generated report object.
    `static JasperPrint` | JasperFillManager.`fillReport(java.io.InputStream inputStream, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `static JasperPrint` | JasperFillManager.`fillReport(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `static JasperPrint` | JasperFillManager.`fillReport(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource dataSource)`
    `static void` | JasperFillManager.`fillReportToFile(JasperReport jasperReport, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `static java.lang.String` | JasperFillManager.`fillReportToFile(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource dataSource)`
    `static void` | JasperFillManager.`fillReportToFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource dataSource)`
    `static void` | JasperFillManager.`fillReportToStream(java.io.InputStream inputStream, java.io.OutputStream outputStream, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `static void` | JasperFillManager.`fillReportToStream(JasperReport jasperReport, java.io.OutputStream outputStream, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `void` | JasperFillManager.`fillToFile(JasperReport jasperReport, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.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.
    `java.lang.String` | JasperFillManager.`fillToFile(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource dataSource)` Fills the compiled report design loaded from the specified file.
    `void` | JasperFillManager.`fillToFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.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.
    `void` | JasperFillManager.`fillToStream(java.io.InputStream inputStream, java.io.OutputStream outputStream, java.util.Map<java.lang.String,java.lang.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, java.io.OutputStream outputStream, java.util.Map<java.lang.String,java.lang.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 java.lang.String` | JasperRunManager.`runReportToHtmlFile(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource jrDataSource)`
    `static void` | JasperRunManager.`runReportToHtmlFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)`
    `static byte[]` | JasperRunManager.`runReportToPdf(java.io.InputStream inputStream, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)`
    `static byte[]` | JasperRunManager.`runReportToPdf(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)`
    `static byte[]` | JasperRunManager.`runReportToPdf(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)`
    `static java.lang.String` | JasperRunManager.`runReportToPdfFile(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource jrDataSource)`
    `static void` | JasperRunManager.`runReportToPdfFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)`
    `static void` | JasperRunManager.`runReportToPdfStream(java.io.InputStream inputStream, java.io.OutputStream outputStream, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)`
    `java.lang.String` | JasperRunManager.`runToHtmlFile(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource jrDataSource)` Fills a report and saves it directly into a HTML file.
    `void` | JasperRunManager.`runToHtmlFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)` Fills a report and saves it directly into a HTML file.
    `byte[]` | JasperRunManager.`runToPdf(java.io.InputStream inputStream, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)` Fills a report and returns byte array object containing the report in PDF format.
    `byte[]` | JasperRunManager.`runToPdf(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)` Fills a report and returns byte array object containing the report in PDF format.
    `byte[]` | JasperRunManager.`runToPdf(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)` Fills a report and sends it to an output stream in PDF format.
    `java.lang.String` | JasperRunManager.`runToPdfFile(java.lang.String sourceFileName, java.util.Map<java.lang.String,java.lang.Object> params, JRDataSource jrDataSource)` Fills a report and saves it directly into a PDF file.
    `void` | JasperRunManager.`runToPdfFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource jrDataSource)` Fills a report and saves it directly into a PDF file.
    `void` | JasperRunManager.`runToPdfStream(java.io.InputStream inputStream, java.io.OutputStream outputStream, java.util.Map<java.lang.String,java.lang.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

    Subinterfaces of JRDataSource in net.sf.jasperreports.engine.data
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IndexedDataSource` `JRDataSource` extension that can provide the record index at the current position.

    Classes in net.sf.jasperreports.engine.data that implement JRDataSource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractPoiXlsDataSource` This data source implementation reads an XLSX or XLS stream.
    `class` | `AbstractXlsDataSource` This data source implementation reads an XLSX or XLS stream.
    `class` | `AbstractXmlDataSource` Abstract XML data source implementation that allows to access the data from a xml document using XPath expressions.
    `class` | `ExcelDataSource` This data source implementation reads an XLSX or XLS stream.
    `class` | `JaxenXmlDataSource`
    `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` | `JRHibernateAbstractDataSource` Base abstract Hibernate data source.
    `class` | `JRHibernateIterateDataSource` Hibernate data source that uses `org.hibernate.Query.iterate()`.
    `class` | `JRHibernateListDataSource` Hibernate data source that uses `org.hibernate.Query.list()`.
    `class` | `JRHibernateScrollDataSource` Hibernate data source that uses `org.hibernate.Query.scroll()`.
    `class` | `JRJpaDataSource` Java Persistence API data source that uses `javax.persistence.Query.getResultList()`.
    `class` | `JRMapArrayDataSource`
    `class` | `JRMapCollectionDataSource`
    `class` | `JRSortableDataSource` Deprecated. Replaced by `ListOfArrayDataSource` and `DatasetSortUtil`.
    `class` | `JRTableModelDataSource`
    `class` | `JRXlsDataSource` Deprecated. Replaced by `XlsDataSource`.
    `class` | `JRXlsxDataSource` This data source implementation reads an XLSX stream.
    `class` | `JRXmlDataSource` XML data source implementation that allows to access the data from a xml document using XPath expressions.
    `class` | `JsonDataSource` JSON data source implementation
    `class` | `ListOfArrayDataSource`
    `class` | `XalanXmlDataSource`
    `class` | `XlsDataSource` This data source implementation reads an XLS stream.

    Methods in net.sf.jasperreports.engine.data that return JRDataSource
    Modifier and Type | Method and Description
    --- | ---
    `JRDataSource` | JRCsvDataSourceProvider.`create(JasperReport report)`

    Methods in net.sf.jasperreports.engine.data with parameters of type JRDataSource
    Modifier and Type | Method and Description
    --- | ---
    `void` | JRCsvDataSourceProvider.`dispose(JRDataSource dataSource)`

    Constructors in net.sf.jasperreports.engine.data with parameters of type JRDataSource
    Constructor and Description
    `JRSortableDataSource(JRDataSource ds, JRField[] fields, JRSortField[] sortFields, java.util.Locale locale)` Deprecated.

  - ### Uses of JRDataSource in net.sf.jasperreports.engine.fill

    Classes in net.sf.jasperreports.engine.fill that implement JRDataSource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SortedDataSource`

    Fields in net.sf.jasperreports.engine.fill declared as JRDataSource
    Modifier and Type | Field and Description
    --- | ---
    `protected JRDataSource` | BaseFillHandle.`dataSource`
    `protected JRDataSource` | JRFillDataset.`dataSource` The data source.

    Methods in net.sf.jasperreports.engine.fill with parameters of type JRDataSource
    Modifier and Type | Method and Description
    --- | ---
    `static AsynchronousFillHandle` | AsynchronousFillHandle.`createHandle(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `static AsynchronousFillHandle` | AsynchronousFillHandle.`createHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)` Creates an asychronous filling handle.
    `static JasperPrint` | JRFiller.`fill(JasperReportsContext jasperReportsContext, JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `JasperPrint` | JRBaseFiller.`fill(java.util.Map<java.lang.String,java.lang.Object> parameterValues, JRDataSource ds)`
    `static JasperPrint` | JRFiller.`fillReport(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)` Deprecated. Replaced by `JRFiller.fill(JasperReportsContext, JasperReport, Map, JRDataSource)`.
    `protected void` | JRBaseFiller.`setDatasourceParameterValue(java.util.Map<java.lang.String,java.lang.Object> parameterValues, JRDataSource ds)`
    `void` | JRFillDataset.`setDatasourceParameterValue(java.util.Map<java.lang.String,java.lang.Object> parameterValues, JRDataSource ds)` Sets the data source to be used.

    Constructors in net.sf.jasperreports.engine.fill with parameters of type JRDataSource
    Constructor and Description
    `AsynchronousFillHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource)`
    `AsynchronousFillHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource, java.sql.Connection conn)`
    `BaseFillHandle(JasperReportsContext jasperReportsContext, JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, JRDataSource dataSource, java.sql.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 and Description
    --- | ---
    `JRDataSource` | JRXPathQueryExecuter.`createDatasource()`
    `JRDataSource` | JRHibernateQueryExecuter.`createDatasource()` Creates an instance of `JRHibernateListDataSource`, `JRHibernateIterateDataSource` or `JRHibernateScrollDataSource`, depending on the
    `JRDataSource` | ExcelQueryExecuter.`createDatasource()`
    `JRDataSource` | JsonQueryExecuter.`createDatasource()`
    `JRDataSource` | XalanXPathQueryExecuter.`createDatasource()`
    `JRDataSource` | JRQueryExecuter.`createDatasource()` Executes the query and creates a `JRDataSource` out of the result.
    `JRDataSource` | JaxenXPathQueryExecuter.`createDatasource()`
    `JRDataSource` | JRCsvQueryExecuter.`createDatasource()`
    `JRDataSource` | JREmptyQueryExecuter.`createDatasource()`
    `JRDataSource` | JRJpaQueryExecuter.`createDatasource()`
    `JRDataSource` | XlsQueryExecuter.`createDatasource()`
    `JRDataSource` | JRJdbcQueryExecuter.`createDatasource()`
    `JRDataSource` | JRXlsQueryExecuter.`createDatasource()` Deprecated.
    `JRDataSource` | JRXlsxQueryExecuter.`createDatasource()`
    `protected JRDataSource` | JRHibernateQueryExecuter.`createResultDatasource()` Creates a data source out of the query result.
    `protected JRDataSource` | JRJpaQueryExecuter.`createResultDatasource()` Creates a data source out of the query result.

  - ### Uses of JRDataSource in net.sf.jasperreports.olap

    Classes in net.sf.jasperreports.olap that implement JRDataSource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JRMondrianDataSource`
    `class` | `JROlapDataSource`
    `class` | `Olap4jDataSource`

    Methods in net.sf.jasperreports.olap that return JRDataSource
    Modifier and Type | Method and 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 and Description
    --- | ---
    `JRDataSource` | JRXmlaQueryExecuter.`createDatasource()`
    `JRDataSource` | Olap4jXmlaQueryExecuter.`createDatasource()`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com