Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
Description
The GremlinGroovyScriptEngine supports a compile() method as part of GroovyScriptEngineImpl which implements the Compilable (http://docs.oracle.com/javase/7/docs/api/javax/script/Compilable.html) interface. This is an optional interface for ScriptEngine implementations, but an important one for caching scripts without actually executing them.
This feature needs to be exposed up to the GremlinExecutor so that it can be accessed there.