net.sf.jasperreports.engine
Interface JRQuery

All Known Implementing Classes:
JRBaseQuery

public interface JRQuery

Represents an SQL query used for generation of report data. When using the default SQL connection data source, an SQL query must also be provided for JasperReports to automatically retrieve the data.

A very important aspect is that column names in the result set obtained from the query must match the field names defined in the report template.

Version:
$Id: JRQuery.java,v 1.8 2005/08/22 15:44:50 ionutned Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
 JRQueryChunk[] getChunks()
           
 java.lang.String getText()
          Returns the query string.
 

Method Detail

getChunks

public JRQueryChunk[] getChunks()

getText

public java.lang.String getText()
Returns the query string.



© 2001-2005 JasperSoft Corporation www.jaspersoft.com