[tinkerpop] branch TINKERPOP-2259 updated (571727e -> c5583e8)
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a change to branch TINKERPOP-2259 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git. discard 571727e TINKERPOP-2259 Default java server/driver serialization to GraphBinary add c5583e8 TINKERPOP-2259 Default java server/driver serialization to GraphBinary This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (571727e) \ N -- N -- N refs/heads/TINKERPOP-2259 (c5583e8) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: CHANGELOG.asciidoc | 3 ++- .../src/test/resources/gremlin-server.yaml | 3 +-- .../org/apache/tinkerpop/gremlin/driver/Cluster.java| 2 +- .../driver/handler/NioGremlinRequestEncoder.java| 8 ++-- .../server/handler/NioGremlinBinaryRequestDecoder.java | 5 + .../server/handler/NioGremlinResponseFrameEncoder.java | 2 +- .../gremlin/server/handler/ServerSerializers.java | 17 +++-- .../server/handler/WsGremlinBinaryRequestDecoder.java | 2 +- .../server/handler/WsGremlinCloseRequestDecoder.java| 3 +-- .../server/handler/WsGremlinTextRequestDecoder.java | 2 +- .../gremlin/driver/ClientConnectionIntegrateTest.java | 2 ++ .../server/AbstractGremlinServerIntegrationTest.java| 2 +- .../gremlin/server/GremlinDriverIntegrateTest.java | 12 ++-- 13 files changed, 31 insertions(+), 32 deletions(-)
[tinkerpop] branch tp33 updated (10a69b1 -> ed4ce73)
This is an automated email from the ASF dual-hosted git repository. rdale pushed a change to branch tp33 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git. from 10a69b1 Removed all the ignored GLV tests for .NET add ed4ce73 asciidoc fixes - CTR No new revisions were added by this update. Summary of changes: docs/src/reference/gremlin-variants.asciidoc | 10 docs/src/reference/the-traversal.asciidoc | 28 +++--- .../gremlin-language-variants/index.asciidoc | 2 +- docs/src/tutorials/gremlins-anatomy/index.asciidoc | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-)
[tinkerpop] branch tp34 updated (85c2175 -> 50b64e0)
This is an automated email from the ASF dual-hosted git repository. rdale pushed a change to branch tp34 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git. from 85c2175 Merge branch 'tp33' into tp34 add ed4ce73 asciidoc fixes - CTR add 865ad03 Merge branch 'tp33' into tp34 add 50b64e0 asciidoc fixes - CTR No new revisions were added by this update. Summary of changes: docs/src/dev/future/index.asciidoc | 2 +- docs/src/recipes/collections.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 14 +++--- .../src/tutorials/gremlin-language-variants/index.asciidoc | 2 +- docs/src/tutorials/gremlins-anatomy/index.asciidoc | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-)
[tinkerpop] 02/05: Merge branch 'tp33' into tp34
This is an automated email from the ASF dual-hosted git repository. rdale pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 865ad035a0b167d620bfbd02358633a63d6473e9 Merge: 85c2175 ed4ce73 Author: Robert Dale AuthorDate: Fri Jul 12 09:41:27 2019 -0400 Merge branch 'tp33' into tp34
[tinkerpop] branch master updated (9ea3664 -> 16700b2)
This is an automated email from the ASF dual-hosted git repository. rdale pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git. from 9ea3664 Merge branch 'tp34' new ed4ce73 asciidoc fixes - CTR new 865ad03 Merge branch 'tp33' into tp34 new 565a073 Merge branch 'tp34' new 50b64e0 asciidoc fixes - CTR new 16700b2 Merge branch 'tp34' The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/src/dev/future/index.asciidoc | 2 +- docs/src/recipes/collections.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 14 +++--- .../src/tutorials/gremlin-language-variants/index.asciidoc | 2 +- docs/src/tutorials/gremlins-anatomy/index.asciidoc | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-)
[tinkerpop] 04/05: asciidoc fixes - CTR
This is an automated email from the ASF dual-hosted git repository. rdale pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 50b64e07e791f0f8d802a80fd12ccc0d12147280 Author: Robert Dale AuthorDate: Fri Jul 12 09:56:06 2019 -0400 asciidoc fixes - CTR --- docs/src/dev/future/index.asciidoc | 2 +- docs/src/recipes/collections.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 14 +++--- .../src/tutorials/gremlin-language-variants/index.asciidoc | 2 +- docs/src/tutorials/gremlins-anatomy/index.asciidoc | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/src/dev/future/index.asciidoc b/docs/src/dev/future/index.asciidoc index 3c6ef48..cbe3a1b 100644 --- a/docs/src/dev/future/index.asciidoc +++ b/docs/src/dev/future/index.asciidoc @@ -230,7 +230,7 @@ framework modules that will potentially be needed. In 3.x, we found situation wh == Elements and IDs -In link:https://issues.apache.org/jira/browse/TINKERPOP-2051[TINKERPOP-2051] we tried to make vertex property ids local to their vertex. Several approaches were leading nowhere, in most cases we just broke the Gryo compatibility test suite. The basic idea was to remember the parent element (at least its id) and use it in property equality comparisons. This way, the property `[name->marko]` would only match another `[name->marko]` property if the parent elements were the same. In the end [...] +In link:https://issues.apache.org/jira/browse/TINKERPOP-2051[TINKERPOP-2051] we tried to make vertex property ids local to their vertex. Several approaches were leading nowhere, in most cases we just broke the Gryo compatibility test suite. The basic idea was to remember the parent element (at least its id) and use it in property equality comparisons. This way, the property `[name->marko]` would only match another `[name->marko]` property if the parent elements were the same. In the end [...] === Comments [dk] diff --git a/docs/src/recipes/collections.asciidoc b/docs/src/recipes/collections.asciidoc index ff76925..923770a 100644 --- a/docs/src/recipes/collections.asciidoc +++ b/docs/src/recipes/collections.asciidoc @@ -244,7 +244,7 @@ g.V(). <1> For each vertex, create a "pair" (i.e. a `List` of two objects) of the vertex itself and its edge count. -<2> For each vertex, create a "triple" (i.e. a `List`of three objects) of the index of the vertex (starting at zero), +<2> For each vertex, create a "triple" (i.e. a `List` of three objects) of the index of the vertex (starting at zero), the vertex itself and its edge count. The pattern here is to use `union()` in conjunction with `fold()`. As explained earlier, the `fold()` operation reduces diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index a0fe625..67e89e3 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -675,8 +675,8 @@ With statics loaded its possible to represent the above traversal as below. g.V().hasLabel('person').has('age',gt(30)).order().by('age',desc).toList() -Finally, statics includes all the ``+__+``-methods and thus, anonymous traversals like `+__.out()+` can be expressed as below. -That is, without the ``__.``-prefix. +Finally, statics includes all the `+__+`-methods and thus, anonymous traversals like `+__.out()+` can be expressed as below. +That is, without the `+__+`-prefix. [gremlin-python,modern] @@ -925,8 +925,8 @@ class SocialTraversalSource(GraphTraversalSource): return traversal -NOTE: The `AnonymousTraversal` class above is just an alias for `__` as in -`from gremlin_python.process.graph_traversal import __ as AnonymousTraversal` +NOTE: The `AnonymousTraversal` class above is just an alias for `+__+` as in +`+from gremlin_python.process.graph_traversal import __ as AnonymousTraversal+` Using the DSL is straightforward and just requires that the graph instance know the `SocialTraversalSource` should be used: @@ -1097,11 +1097,11 @@ Developing a <> (DSL) for .Net is most easily impl link:https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/extension-methods[Extension Methods] as they don't require direct extension of classes in the TinkerPop hierarchy. Extension Method classes simply need to be constructed for the `GraphTraversal` and the `GraphTraversalSource`. Unfortunately, anonymous traversals (spawned -from `__`) can't use the Extension Method approach as they do not work for static classes and static classes can't be -extended. The only option is to re-implement the methods of `__` as a wrapper in the anonymous traversal for the DSL +from `+__+`) can't use the Extension Method approach as they do not work for static classes and static classes can't be +extended. The only
[tinkerpop] 05/05: Merge branch 'tp34'
This is an automated email from the ASF dual-hosted git repository. rdale pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 16700b2034f9b125ad46625cbee5baca18666db8 Merge: 565a073 50b64e0 Author: Robert Dale AuthorDate: Fri Jul 12 09:56:17 2019 -0400 Merge branch 'tp34' docs/src/dev/future/index.asciidoc | 2 +- docs/src/recipes/collections.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 14 +++--- .../src/tutorials/gremlin-language-variants/index.asciidoc | 2 +- docs/src/tutorials/gremlins-anatomy/index.asciidoc | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-)
[tinkerpop] 03/05: Merge branch 'tp34'
This is an automated email from the ASF dual-hosted git repository. rdale pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit 565a073400c49c702dfe3060b18230ed552eddd0 Merge: 9ea3664 865ad03 Author: Robert Dale AuthorDate: Fri Jul 12 09:41:44 2019 -0400 Merge branch 'tp34'
[tinkerpop] 01/05: asciidoc fixes - CTR
This is an automated email from the ASF dual-hosted git repository. rdale pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git commit ed4ce735062a2328ef70d91c39e5af971c6574e7 Author: Robert Dale AuthorDate: Fri Jul 12 09:26:57 2019 -0400 asciidoc fixes - CTR --- docs/src/reference/gremlin-variants.asciidoc | 10 docs/src/reference/the-traversal.asciidoc | 28 +++--- .../gremlin-language-variants/index.asciidoc | 2 +- docs/src/tutorials/gremlins-anatomy/index.asciidoc | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index e4a6cef..ff75287 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -75,7 +75,7 @@ Gremlin-Java constructs. Moreover, given its scripting nature, Gremlin-Groovy se <>. WARNING: In Groovy, `as`, `in`, and `not` are reserved words. Gremlin-Groovy does not allow these steps to be called -statically from the anonymous traversal `__` and therefore, must always be prefixed with `__.` For instance: +statically from the anonymous traversal `+__+` and therefore, must always be prefixed with `+__+`. For instance: `+g.V().as('a').in().as('b').where(__.not(__.as('a').out().as('b')))+` [[gremlin-python]] @@ -89,7 +89,7 @@ namespaces (`a(b())` vs `a(__.b())`). As such, anyone familiar with Gremlin-Java with Gremlin-Python. Moreover, there are a few added constructs to Gremlin-Python that make traversals a bit more succinct. WARNING: In Python, `and`, `as`, `from`, `global`, `in`, `is`, `not`, and `or` are reserved words. Gremlin-Python simply -postfixes `_` to the end of these terms for their use with graph traversal. For instance: `g.V().as_('a').in_().as_('b').select('a','b')`. +postfixes `+_+` to the end of these terms for their use with graph traversal. For instance: `g.V().as_('a').in_().as_('b').select('a','b')`. To install Gremlin-Python, use Python's link:https://en.wikipedia.org/wiki/Pip_(package_manager)[pip] package manager. @@ -229,8 +229,8 @@ With statics loaded its possible to represent the above traversal as below. g.V().hasLabel('person').has('age',gt(30)).order().by('age',desc).toList() -Finally, statics includes all the ``+__+``-methods and thus, anonymous traversals like `+__.out()+` can be expressed as below. -That is, without the ``__.``-prefix. +Finally, statics includes all the `+__+`-methods and thus, anonymous traversals like `+__.out()+` can be expressed as below. +That is, without the `+__+`-prefix. [gremlin-python,modern] @@ -541,7 +541,7 @@ traversal source. Since Gremlin-JavaScript currently doesn't support lambda expressions, all traversals can be translated to Gremlin-Java on the remote location (e.g. Gremlin Server). -WARNING: In Javascript, `from` and `in` are reserved words. Gremlin-Javascript simply postfixes `_` to the end of +WARNING: In Javascript, `from` and `in` are reserved words. Gremlin-Javascript simply postfixes `+_+` to the end of these terms for their use with graph traversal. For instance: `g.V().in_().out()` IMPORTANT: Gremlin-JavaScript’s `Traversal` base class supports the standard Gremlin methods such as `next()` and diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index 8377d20..60e7218 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -42,7 +42,7 @@ traversal strategies may not function properly. image::step-types.png[width=650] A `GraphTraversal` is spawned from a `GraphTraversalSource`. It can also be spawned anonymously (i.e. empty) -via `__`. A graph traversal is composed of an ordered list of steps. All the steps provided by `GraphTraversal` +via `+__+`. A graph traversal is composed of an ordered list of steps. All the steps provided by `GraphTraversal` inherit from the more general forms diagrammed above. A list of all the steps (and their descriptions) are provided in the TinkerPop3 link:http://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html[GraphTraversal JavaDoc]. The following subsections will demonstrate the GraphTraversal steps using the <>. @@ -361,7 +361,7 @@ that make use of such labels -- e.g., <>,