public class JRMondrianQueryExecuterFactory extends AbstractQueryExecuterFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_MONDRIAN_CONNECTION
Built-in parameter holding the value of the Mondrian connection to be used for creating the query.
|
QUERY_EXECUTER_FACTORY_PREFIX| Constructor and Description |
|---|
JRMondrianQueryExecuterFactory() |
| 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.
|
createQueryExecuterpublic static final String PARAMETER_MONDRIAN_CONNECTION
public Object[] getBuiltinParameters()
QueryExecuterFactory{"Param1", String.class, "Param2", "List.class"}).public JRQueryExecuter createQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,? extends JRValueParameter> parameters) throws JRException
QueryExecuterFactoryjasperReportsContext - the JasperReportsContextdataset - the dataset containing the query, fields, etcparameters - map of value parameters (instances of JRValueParameter)
indexed by nameJRExceptionpublic boolean supportsQueryParameterType(String className)
QueryExecuterFactoryclassName - the value class name of the parameterCopyright © 2012. All Rights Reserved.