public interface QueryExecuterFactory extends JRQueryExecuterFactory
JRQueryExecuter| Modifier and Type | Field and Description |
|---|---|
static String |
QUERY_EXECUTER_FACTORY_PREFIX
Prefix for query executer factory properties.
|
| Modifier and Type | Method and Description |
|---|---|
JRQueryExecuter |
createQueryExecuter(JasperReportsContext jasperReportsContext,
JRDataset dataset,
Map<String,? extends JRValueParameter> parameters)
Creates a query executer.
|
Object[] |
getBuiltinParameters()
Returns the built-in parameters associated with this query type.
|
boolean |
supportsQueryParameterType(String className)
Decides whether the query executers created by this factory support a query parameter type.
|
createQueryExecuterstatic final String QUERY_EXECUTER_FACTORY_PREFIX
Object[] getBuiltinParameters()
{"Param1", String.class, "Param2", "List.class"}).getBuiltinParameters in interface JRQueryExecuterFactoryJRQueryExecuter createQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,? extends JRValueParameter> parameters) throws JRException
jasperReportsContext - the JasperReportsContextdataset - the dataset containing the query, fields, etcparameters - map of value parameters (instances of JRValueParameter)
indexed by nameJRExceptionboolean supportsQueryParameterType(String className)
supportsQueryParameterType in interface JRQueryExecuterFactoryclassName - the value class name of the parameterCopyright © 2017. All rights reserved.