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/25 14:34:40 UTC
[21/50] incubator-tinkerpop git commit: Add warning to docs about
serializability of Gremlin Server results.
Add warning to docs about serializability of Gremlin Server results.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/ca2d1129
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/ca2d1129
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/ca2d1129
Branch: refs/heads/tp30
Commit: ca2d11299847355861e811ce9416cdff4ccd7a9b
Parents: 5aba975
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri Aug 14 10:49:52 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Aug 14 10:49:52 2015 -0400
----------------------------------------------------------------------
docs/src/gremlin-applications.asciidoc | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/ca2d1129/docs/src/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/gremlin-applications.asciidoc b/docs/src/gremlin-applications.asciidoc
index f51af37..5b653b2 100644
--- a/docs/src/gremlin-applications.asciidoc
+++ b/docs/src/gremlin-applications.asciidoc
@@ -303,6 +303,8 @@ script = """
TIP: In Groovy, `""" text """` is a convenient way to create a multi-line string and works well in concert with `:> @variable`. Note that this model of submitting a string variable works for all `:>` based plugins, not just Gremlin Server.
+WARNING: Not all values that can be returned from a Gremlin script end up being serializable. For example, submitting `:> graph` will return a `Graph` instance and in most cases those are not serializable by Gremlin Server and will return a serialization error. It should be noted that `TinkerGraph`, as a convenience for shipping around small sub-graphs, is serializable from Gremlin Server.
+
Connecting via Java
~~~~~~~~~~~~~~~~~~~