public class JRXmlaQueryExecuterFactory extends AbstractQueryExecuterFactory
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_XMLA_CATALOG |
static String |
PARAMETER_XMLA_DATASOURCE |
static String |
PARAMETER_XMLA_PASSWORD |
static String |
PARAMETER_XMLA_URL |
static String |
PARAMETER_XMLA_USER |
QUERY_EXECUTER_FACTORY_PREFIX
Constructor and Description |
---|
JRXmlaQueryExecuterFactory() |
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.
|
createQueryExecuter
public static final String PARAMETER_XMLA_URL
public static final String PARAMETER_XMLA_DATASOURCE
public static final String PARAMETER_XMLA_CATALOG
public static final String PARAMETER_XMLA_USER
public static final String PARAMETER_XMLA_PASSWORD
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
public boolean supportsQueryParameterType(String className)
QueryExecuterFactory
className
- the value class name of the parameterCopyright © 2016. All rights reserved.