Module datarush.library
Class RhinoCompiledEngineFactory
- java.lang.Object
-
- com.pervasive.datarush.operators.scripting.engine.RhinoCompiledEngineFactory
-
- All Implemented Interfaces:
ScriptEngineFactory
public class RhinoCompiledEngineFactory extends Object implements ScriptEngineFactory
Script factory for the Rhino engine that uses compiled scripts for performance. Warning: this implementation is not complete. It contains enough functionality to be used by theRunScript
operator. Not all engine methods are implemented.
-
-
Constructor Summary
Constructors Constructor Description RhinoCompiledEngineFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEngineName()
String
getEngineVersion()
List<String>
getExtensions()
String
getLanguageName()
String
getLanguageVersion()
String
getMethodCallSyntax(String obj, String m, String... args)
List<String>
getMimeTypes()
List<String>
getNames()
String
getOutputStatement(String toDisplay)
Object
getParameter(String key)
String
getProgram(String... statements)
ScriptEngine
getScriptEngine()
-
-
-
Method Detail
-
getEngineName
public String getEngineName()
- Specified by:
getEngineName
in interfaceScriptEngineFactory
-
getEngineVersion
public String getEngineVersion()
- Specified by:
getEngineVersion
in interfaceScriptEngineFactory
-
getExtensions
public List<String> getExtensions()
- Specified by:
getExtensions
in interfaceScriptEngineFactory
-
getMimeTypes
public List<String> getMimeTypes()
- Specified by:
getMimeTypes
in interfaceScriptEngineFactory
-
getNames
public List<String> getNames()
- Specified by:
getNames
in interfaceScriptEngineFactory
-
getLanguageName
public String getLanguageName()
- Specified by:
getLanguageName
in interfaceScriptEngineFactory
-
getLanguageVersion
public String getLanguageVersion()
- Specified by:
getLanguageVersion
in interfaceScriptEngineFactory
-
getParameter
public Object getParameter(String key)
- Specified by:
getParameter
in interfaceScriptEngineFactory
-
getMethodCallSyntax
public String getMethodCallSyntax(String obj, String m, String... args)
- Specified by:
getMethodCallSyntax
in interfaceScriptEngineFactory
-
getOutputStatement
public String getOutputStatement(String toDisplay)
- Specified by:
getOutputStatement
in interfaceScriptEngineFactory
-
getProgram
public String getProgram(String... statements)
- Specified by:
getProgram
in interfaceScriptEngineFactory
-
getScriptEngine
public ScriptEngine getScriptEngine()
- Specified by:
getScriptEngine
in interfaceScriptEngineFactory
-
-