Class GrafanaQueryExecutor
- java.lang.Object
-
- net.sf.jasperreports.engine.query.JRAbstractQueryExecuter
-
- org.opennms.netmgt.jasper.grafana.GrafanaQueryExecutor
-
- All Implemented Interfaces:
net.sf.jasperreports.engine.query.JRQueryExecuter
public class GrafanaQueryExecutor extends net.sf.jasperreports.engine.query.JRAbstractQueryExecuter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.query.JRAbstractQueryExecuter
net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameter, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameterEntry, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameterVisitor, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.ValuedQueryParameter, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.VisitExceptionWrapper
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.query.JRAbstractQueryExecuter
CLAUSE_POSITION_ID, clauseFunctions, dataset, EXCEPTION_MESSAGE_KEY_NUMERIC_TYPE_REQUIRED, EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND, EXCEPTION_MESSAGE_KEY_QUERY_CLAUSE_CIRCULARLY_NESTED_PARAMETER, EXCEPTION_MESSAGE_KEY_QUERY_CLAUSE_ID_FIRST_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_CLAUSE_NOT_FOUND, EXCEPTION_MESSAGE_KEY_UNSUPPORTED_PARAMETER_TYPE, GET_COLLECTED
-
-
Constructor Summary
Constructors Constructor Description GrafanaQueryExecutor(net.sf.jasperreports.engine.JasperReportsContext context, net.sf.jasperreports.engine.JRDataset dataset, java.util.Map<java.lang.String,? extends net.sf.jasperreports.engine.JRValueParameter> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancelQuery()
void
close()
GrafanaPanelDatasource
createDatasource()
protected java.lang.String
getParameterReplacement(java.lang.String parameterName)
-
Methods inherited from class net.sf.jasperreports.engine.query.JRAbstractQueryExecuter
addQueryMultiParameters, addQueryMultiParameters, addQueryParameter, addQueryParameter, appendClauseChunk, appendParameterChunk, appendParameterClauseChunk, appendQueryChunk, appendTextChunk, applyClause, checkParameter, findExtensionQueryFunction, getBooleanParameter, getBooleanParameter, getBooleanParameterOrProperty, getBooleanParameterOrProperty, getCanonicalQueryLanguage, getCollectedParameterNames, getCollectedParameters, getJasperReportsContext, getParameter, getParameterValue, getParameterValue, getPropertiesUtil, getQueryString, getStringParameter, getStringParameterOrProperty, getValueParameter, getValueParameter, parameterHasValue, parseQuery, registerClauseFunction, resolveFunction, unregisterClauseFunction, visitQueryParameters
-
-
-
-
Method Detail
-
getParameterReplacement
protected java.lang.String getParameterReplacement(java.lang.String parameterName)
- Specified by:
getParameterReplacement
in classnet.sf.jasperreports.engine.query.JRAbstractQueryExecuter
-
createDatasource
public GrafanaPanelDatasource createDatasource() throws net.sf.jasperreports.engine.JRException
- Throws:
net.sf.jasperreports.engine.JRException
-
close
public void close()
-
cancelQuery
public boolean cancelQuery()
-
-