Package net.sf.jasperreports.json.query
Class JsonQLQueryExecuterFactory
- java.lang.Object
-
- net.sf.jasperreports.engine.query.AbstractQueryExecuterFactory
-
- net.sf.jasperreports.json.query.JsonQueryExecuterFactory
-
- net.sf.jasperreports.json.query.JsonQLQueryExecuterFactory
-
- All Implemented Interfaces:
QueryExecuterFactory
,Designated
public class JsonQLQueryExecuterFactory extends JsonQueryExecuterFactory
JSON QL query executer factory. The factory createsJsonQLQueryExecuter
query executers.- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSONQL_QUERY_EXECUTER_NAME
-
Fields inherited from class net.sf.jasperreports.json.query.JsonQueryExecuterFactory
JSON_DATE_PATTERN, JSON_INPUT_STREAM, JSON_LOCALE, JSON_LOCALE_CODE, JSON_NUMBER_PATTERN, JSON_QUERY_EXECUTER_NAME, JSON_SOURCE, JSON_SOURCES, JSON_TIME_ZONE, JSON_TIMEZONE_ID
-
Fields inherited from interface net.sf.jasperreports.engine.query.QueryExecuterFactory
QUERY_EXECUTER_FACTORY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description JsonQLQueryExecuterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRQueryExecuter
createQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,? extends JRValueParameter> parameters)
Creates a query executer.JRQueryExecuter
createQueryExecuter(QueryExecutionContext context, JRDataset dataset, Map<String,? extends JRValueParameter> parameters)
String
getDesignation()
-
Methods inherited from class net.sf.jasperreports.json.query.JsonQueryExecuterFactory
getBuiltinParameters, supportsQueryParameterType
-
-
-
-
Field Detail
-
JSONQL_QUERY_EXECUTER_NAME
public static final String JSONQL_QUERY_EXECUTER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createQueryExecuter
public JRQueryExecuter createQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,? extends JRValueParameter> parameters) throws JRException
Description copied from interface:QueryExecuterFactory
Creates a query executer. This method is called at fill time for reports/datasets having a query supported by this factory.- Specified by:
createQueryExecuter
in interfaceQueryExecuterFactory
- Overrides:
createQueryExecuter
in classJsonQueryExecuterFactory
- Parameters:
jasperReportsContext
- the JasperReportsContextdataset
- the dataset containing the query, fields, etcparameters
- map of value parameters (instances ofJRValueParameter
) indexed by name- Returns:
- a query executer
- Throws:
JRException
-
createQueryExecuter
public JRQueryExecuter createQueryExecuter(QueryExecutionContext context, JRDataset dataset, Map<String,? extends JRValueParameter> parameters) throws JRException
- Specified by:
createQueryExecuter
in interfaceQueryExecuterFactory
- Overrides:
createQueryExecuter
in classJsonQueryExecuterFactory
- Throws:
JRException
-
getDesignation
public String getDesignation()
- Specified by:
getDesignation
in interfaceDesignated
- Overrides:
getDesignation
in classJsonQueryExecuterFactory
-
-