Class DataFactoryScriptingSupport
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.DataFactoryScriptingSupport
-
- All Implemented Interfaces:
Serializable
,Cloneable
public final class DataFactoryScriptingSupport extends Object implements Cloneable, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataFactoryScriptingSupport.ScriptHelper
-
Constructor Summary
Constructors Constructor Description DataFactoryScriptingSupport()
-
Method Summary
-
-
-
Method Detail
-
getQueryNames
public String[] getQueryNames()
-
getGlobalScript
public String getGlobalScript()
-
setGlobalScript
public void setGlobalScript(String globalScript)
-
getGlobalScriptLanguage
public String getGlobalScriptLanguage()
-
setGlobalScriptLanguage
public void setGlobalScriptLanguage(String globalScriptLanguage)
-
initialize
public void initialize(DataFactory dataFactory, DataFactoryContext dataFactoryContext) throws ReportDataFactoryException
- Throws:
ReportDataFactoryException
-
callGlobalInitialize
protected void callGlobalInitialize(DataRow parameter) throws ReportDataFactoryException
- Throws:
ReportDataFactoryException
-
computeQuery
public String computeQuery(String queryName, DataRow parameter) throws ReportDataFactoryException
- Throws:
ReportDataFactoryException
-
postProcessResult
public TableModel postProcessResult(String queryName, DataRow parameter, TableModel result) throws ReportDataFactoryException
- Throws:
ReportDataFactoryException
-
computeAdditionalQueryFields
public String[] computeAdditionalQueryFields(String queryName, DataRow parameter) throws ReportDataFactoryException
- Throws:
ReportDataFactoryException
-
shutdown
public void shutdown()
-
containsQuery
public boolean containsQuery(String query)
-
remove
public void remove(String name)
-
-