public interface JRQuery extends JRCloneable
JRDataSource
to be used by the filling process.
When using the default SQL connection data source,
an SQL query must also be provided for JasperReports to automatically retrieve the data.
For SQL queries, 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.QueryExecuterFactory
Modifier and Type | Method and Description |
---|---|
JRQueryChunk[] |
getChunks() |
String |
getLanguage()
Returns the query language.
|
String |
getText()
Returns the query string.
|
clone
JRQueryChunk[] getChunks()
String getText()
String getLanguage()
QueryExecuterFactory
is used to create
a JRQueryExecuter
instance. The query executer
is responsible for executing the query and creating a JRDataSource
from the result.Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.