public class JRMondrianQueryExecuterFactory extends java.lang.Object implements JRQueryExecuterFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.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(JRDataset dataset,
java.util.Map<java.lang.String,? extends JRValueParameter> parameters)
Creates a query executer.
|
java.lang.Object[] |
getBuiltinParameters()
Returns the built-in parameters associated with this query type.
|
boolean |
supportsQueryParameterType(java.lang.String className)
Decides whether the query executers created by this factory support a query parameter type.
|
public static final java.lang.String PARAMETER_MONDRIAN_CONNECTION
public java.lang.Object[] getBuiltinParameters()
JRQueryExecuterFactory
{"Param1", String.class, "Param2", "List.class"}
).getBuiltinParameters
in interface JRQueryExecuterFactory
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)
JRQueryExecuterFactory
supportsQueryParameterType
in interface JRQueryExecuterFactory
className
- the value class name of the parameter© 2001-2010 Jaspersoft Corporation www.jaspersoft.com