public static class JRQueryExecuterUtils.WrappingQueryExecuterFactory extends java.lang.Object implements QueryExecuterFactory
QUERY_EXECUTER_FACTORY_PREFIX
Constructor and Description |
---|
WrappingQueryExecuterFactory(JRQueryExecuterFactory factory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JRQueryExecuter |
createQueryExecuter(JasperReportsContext jasperReportsContext,
JRDataset dataset,
java.util.Map<java.lang.String,? extends JRValueParameter> parameters)
Deprecated.
Creates a query executer.
|
JRQueryExecuter |
createQueryExecuter(JRDataset dataset,
java.util.Map<java.lang.String,? extends JRValueParameter> parameters)
Deprecated.
Creates a query executer.
|
java.lang.Object[] |
getBuiltinParameters()
Deprecated.
Returns the built-in parameters associated with this query type.
|
boolean |
supportsQueryParameterType(java.lang.String className)
Deprecated.
Decides whether the query executers created by this factory support a query parameter type.
|
public WrappingQueryExecuterFactory(JRQueryExecuterFactory factory)
public java.lang.Object[] getBuiltinParameters()
QueryExecuterFactory
{"Param1", String.class, "Param2", "List.class"}
).getBuiltinParameters
in interface JRQueryExecuterFactory
getBuiltinParameters
in interface QueryExecuterFactory
public JRQueryExecuter createQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, java.util.Map<java.lang.String,? extends JRValueParameter> parameters) throws JRException
QueryExecuterFactory
createQueryExecuter
in interface QueryExecuterFactory
jasperReportsContext
- the JasperReportsContextdataset
- the dataset containing the query, fields, etcparameters
- map of value parameters (instances of JRValueParameter
)
indexed by nameJRException
public JRQueryExecuter createQueryExecuter(JRDataset dataset, java.util.Map<java.lang.String,? extends JRValueParameter> parameters) throws JRException
JRQueryExecuterFactory
createQueryExecuter
in interface JRQueryExecuterFactory
dataset
- the dataset containing the query, fields, etcparameters
- map of value parameters (instances of JRValueParameter
)
indexed by nameJRException
public boolean supportsQueryParameterType(java.lang.String className)
QueryExecuterFactory
supportsQueryParameterType
in interface JRQueryExecuterFactory
supportsQueryParameterType
in interface QueryExecuterFactory
className
- the value class name of the parameter© 2001-2014 TIBCO Software Inc. www.jaspersoft.com