Class GremlinGroovyScriptEngineFactory
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinScriptEngineFactory
-
- org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineFactory
-
- All Implemented Interfaces:
ScriptEngineFactory
,GremlinScriptEngineFactory
public class GremlinGroovyScriptEngineFactory extends AbstractGremlinScriptEngineFactory
AGremlinScriptEngineFactory
implementation that createsGremlinGroovyScriptEngine
instances.- Author:
- Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinScriptEngineFactory
manager
-
-
Constructor Summary
Constructors Constructor Description GremlinGroovyScriptEngineFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMethodCallSyntax(String obj, String m, String... args)
String
getOutputStatement(String toDisplay)
GremlinScriptEngine
getScriptEngine()
Creates a newGremlinScriptEngine
instance.-
Methods inherited from class org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinScriptEngineFactory
getEngineName, getEngineVersion, getExtensions, getLanguageName, getLanguageVersion, getMimeTypes, getNames, getParameter, getProgram, setCustomizerManager
-
-
-
-
Method Detail
-
getScriptEngine
public GremlinScriptEngine getScriptEngine()
Description copied from interface:GremlinScriptEngineFactory
Creates a newGremlinScriptEngine
instance. Unlike the JSR-223 implementation, the semantics for this interface expect a "new" instance to be created for each call to this method. Caching or pooling is something to be handled by aGremlinScriptEngineManager
.
-
-