- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.pervasive.datarush.coercion.JavaScriptRunner
-
- com.pervasive.datarush.coercion.Drunner
-
- All Implemented Interfaces:
OperatorRegistrar,Map<String,Object>
public class Drunner extends JavaScriptRunner implements OperatorRegistrar
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description protected com.pervasive.datarush.coercion.ContextManagercontextManagerprotected org.mozilla.javascript.Scriptablescope-
Fields inherited from class com.pervasive.datarush.coercion.JavaScriptRunner
charset
-
-
Constructor Summary
Constructors Constructor Description Drunner()Drunner(EngineConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Map.Entry<String,Object>>entrySet()static DrunnerfromArgs(String[] args, CodeSource domain)static ObjectjsToJava(com.pervasive.datarush.coercion.ContextManager contextManager, Object jsObject)static voidmain(String[] args)Objectput(String key, Object value)voidrun()voidsetDumpFile(String path)voidsetGraphName(String name)-
Methods inherited from class com.pervasive.datarush.coercion.JavaScriptRunner
eval, eval, eval, getAs, processCliArgs, requireAs
-
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
Drunner
public Drunner()
-
Drunner
public Drunner(EngineConfig config)
-
-
Method Detail
-
setDumpFile
public void setDumpFile(String path)
-
setGraphName
public void setGraphName(String name)
-
fromArgs
public static Drunner fromArgs(String[] args, CodeSource domain)
-
run
public void run()
-
-