Package net.sf.jasperreports.engine.util
Class JRQueryExecuterUtils
- java.lang.Object
-
- net.sf.jasperreports.engine.util.JRQueryExecuterUtils
-
public final class JRQueryExecuterUtils extends Object
Query executer utility class.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_QUERY_EXECUTER_FACTORY_NOT_REGISTERED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryExecuterFactory
getExecuterFactory(String language)
Returns a query executer factory for a query language.static JRQueryExecuterUtils
getInstance(JasperReportsContext jasperReportsContext)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_QUERY_EXECUTER_FACTORY_NOT_REGISTERED
public static final String EXCEPTION_MESSAGE_KEY_QUERY_EXECUTER_FACTORY_NOT_REGISTERED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static JRQueryExecuterUtils getInstance(JasperReportsContext jasperReportsContext)
-
getExecuterFactory
public QueryExecuterFactory getExecuterFactory(String language) throws JRException
Returns a query executer factory for a query language.- Parameters:
language
- the query language- Returns:
- a query executer factory
- Throws:
JRException
- See Also:
QueryExecuterFactory.QUERY_EXECUTER_FACTORY_PREFIX
-
-