You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/08/20 22:02:25 UTC

[7/7] incubator-tinkerpop git commit: More javadoc on GremlinGroovyScriptEngine.

More javadoc on GremlinGroovyScriptEngine.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/3a9e1983
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/3a9e1983
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/3a9e1983

Branch: refs/heads/tp30
Commit: 3a9e1983bba836c0d62971f73b327fda903ccd2c
Parents: 8081640
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Aug 20 16:01:50 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Aug 20 16:01:50 2015 -0400

----------------------------------------------------------------------
 .../gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/3a9e1983/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
index 36a8fb9..2feaf71 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
@@ -73,8 +73,11 @@ import java.util.regex.Pattern;
 import java.util.stream.Collectors;
 
 /**
- * This {@code ScriptEngine} implementation is heavily adapted from the {@code GroovyScriptEngineImpl} to include
- * some additional functionality.
+ * Provides methods to compile and evaluate Gremlin scripts. Compiled scripts are stored in a managed cache to cut
+ * down on compilation times of future evaluations of the same script.  This {@code ScriptEngine} implementation is
+ * heavily adapted from the {@code GroovyScriptEngineImpl} to include some additional functionality.
+ *
+ * @see org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor
  *
  * @author Marko A. Rodriguez (http://markorodriguez.com)
  * @author Stephen Mallette (http://stephen.genoprime.com)