public class JRMdxQueryExecuterFactory extends AbstractQueryExecuterFactory
Modifier and Type | Field and Description |
---|---|
static String |
CANONICAL_LANGUAGE |
QUERY_EXECUTER_FACTORY_PREFIX
Constructor and Description |
---|
JRMdxQueryExecuterFactory() |
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.
|
protected Object |
getParameterValue(Map<String,? extends JRValueParameter> valueParams,
String name) |
boolean |
supportsQueryParameterType(String className)
Decides whether the query executers created by this factory support a query parameter type.
|
createQueryExecuter
public static final String CANONICAL_LANGUAGE
public Object[] getBuiltinParameters()
QueryExecuterFactory
{"Param1", String.class, "Param2", "List.class"}
).public JRQueryExecuter createQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,? extends JRValueParameter> parameters) throws JRException
QueryExecuterFactory
jasperReportsContext
- the JasperReportsContextdataset
- the dataset containing the query, fields, etcparameters
- map of value parameters (instances of JRValueParameter
)
indexed by nameJRException
protected final Object getParameterValue(Map<String,? extends JRValueParameter> valueParams, String name)
public boolean supportsQueryParameterType(String className)
QueryExecuterFactory
className
- the value class name of the parameterCopyright © 2015. All rights reserved.