tinkerpop git commit: Fixed broken asciidoc heading CTR
Repository: tinkerpop Updated Branches: refs/heads/tp32 372dfd801 -> 9b88e9a2d Fixed broken asciidoc heading CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/9b88e9a2 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/9b88e9a2 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/9b88e9a2 Branch: refs/heads/tp32 Commit: 9b88e9a2d7d953ea6e7b71e9b137d2d36ca0a94e Parents: 372dfd8 Author: Stephen MalletteAuthored: Fri Feb 17 20:38:53 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 20:38:53 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9b88e9a2/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index e34c0a5..0303fa6 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -1663,7 +1663,7 @@ g.V(1).properties('location').has('endTime').valueMap() [[propertymap-step]] PropertyMap Step -~ + The `propertiesMap()`-step yields a Map representation of the properties of an element.
[1/2] tinkerpop git commit: Fixed broken asciidoc heading CTR
Repository: tinkerpop Updated Branches: refs/heads/master db6d52178 -> 5f54d1126 Fixed broken asciidoc heading CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/9b88e9a2 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/9b88e9a2 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/9b88e9a2 Branch: refs/heads/master Commit: 9b88e9a2d7d953ea6e7b71e9b137d2d36ca0a94e Parents: 372dfd8 Author: Stephen MalletteAuthored: Fri Feb 17 20:38:53 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 20:38:53 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9b88e9a2/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index e34c0a5..0303fa6 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -1663,7 +1663,7 @@ g.V(1).properties('location').has('endTime').valueMap() [[propertymap-step]] PropertyMap Step -~ + The `propertiesMap()`-step yields a Map representation of the properties of an element.
[2/2] tinkerpop git commit: Merge branch 'tp32'
Merge branch 'tp32' Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/5f54d112 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/5f54d112 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/5f54d112 Branch: refs/heads/master Commit: 5f54d11268f76b3665c123911518f92f9c55867f Parents: db6d521 9b88e9a Author: Stephen MalletteAuthored: Fri Feb 17 20:59:41 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 20:59:41 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/5f54d112/docs/src/reference/the-traversal.asciidoc --
svn commit: r1783487 [33/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Vertex.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Vertex.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Vertex.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Vertex.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.structure.Vertex (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -822,13 +822,13 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true; title="class or interface in java.util">IteratorVertex -MultiMetaNeo4jTrait.lookupVertices(Neo4jGraphgraph, +NoMultiNoMetaNeo4jTrait.lookupVertices(Neo4jGraphgraph, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListHasContainerhasContainers, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object...ids) http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true; title="class or interface in java.util">IteratorVertex -NoMultiNoMetaNeo4jTrait.lookupVertices(Neo4jGraphgraph, +MultiMetaNeo4jTrait.lookupVertices(Neo4jGraphgraph, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListHasContainerhasContainers, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object...ids) @@ -1175,23 +1175,23 @@ Vertex -IncrementalBulkLoader.getOrCreateVertex(Vertexvertex, +OneTimeBulkLoader.getOrCreateVertex(Vertexvertex, Graphgraph, GraphTraversalSourceg) -Gets or creates a clone of the given vertex in the given graph. +Creates a clone of the given vertex in the given graph. Vertex -OneTimeBulkLoader.getOrCreateVertex(Vertexvertex, +BulkLoader.getOrCreateVertex(Vertexvertex, Graphgraph, GraphTraversalSourceg) -Creates a clone of the given vertex in the given graph. +Gets or creates a clone of the given vertex in the given graph. Vertex -BulkLoader.getOrCreateVertex(Vertexvertex, +IncrementalBulkLoader.getOrCreateVertex(Vertexvertex, Graphgraph, GraphTraversalSourceg) Gets or creates a clone of the given vertex in the given graph. @@ -1199,7 +1199,7 @@ Vertex -IncrementalBulkLoader.getVertex(Vertexvertex, +OneTimeBulkLoader.getVertex(Vertexvertex, Graphgraph, GraphTraversalSourceg) Get a vertex that matches the given vertex from the given graph. @@ -1207,7 +1207,7 @@ Vertex -OneTimeBulkLoader.getVertex(Vertexvertex, +BulkLoader.getVertex(Vertexvertex, Graphgraph, GraphTraversalSourceg) Get a vertex that matches the given vertex from the given graph. @@ -1215,7 +1215,7 @@ Vertex -BulkLoader.getVertex(Vertexvertex, +IncrementalBulkLoader.getVertex(Vertexvertex, Graphgraph, GraphTraversalSourceg) Get a vertex that matches the given vertex from the given graph. @@ -1265,27 +1265,27 @@ Edge -IncrementalBulkLoader.getOrCreateEdge(Edgeedge, +OneTimeBulkLoader.getOrCreateEdge(Edgeedge, VertexoutVertex, VertexinVertex, Graphgraph, GraphTraversalSourceg) -Gets or creates a clone of the given edge between the given in- and out-vertices. +Creates a clone of the given edge between the given in- and out-vertices. Edge -OneTimeBulkLoader.getOrCreateEdge(Edgeedge, +BulkLoader.getOrCreateEdge(Edgeedge, VertexoutVertex, VertexinVertex, Graphgraph, GraphTraversalSourceg) -Creates a clone of the given edge between the given in- and out-vertices. +Gets or creates a clone of the given edge between the given in- and out-vertices. Edge -BulkLoader.getOrCreateEdge(Edgeedge, +IncrementalBulkLoader.getOrCreateEdge(Edgeedge, VertexoutVertex, VertexinVertex, Graphgraph, @@ -1295,23 +1295,23 @@ Vertex -IncrementalBulkLoader.getOrCreateVertex(Vertexvertex, +OneTimeBulkLoader.getOrCreateVertex(Vertexvertex, Graphgraph, GraphTraversalSourceg) -Gets or creates a clone of the given vertex in the given graph. +Creates a clone of the given vertex in the given graph. Vertex -OneTimeBulkLoader.getOrCreateVertex(Vertexvertex, +BulkLoader.getOrCreateVertex(Vertexvertex,
svn commit: r1783487 [12/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/index-all.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/index-all.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/index-all.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/index-all.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Index (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -486,7 +486,9 @@ addE(String) - Static method in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__ addE(String) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Adds an Edge with the specified edge label. + addE(Direction, String, String, Object...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal Deprecated. @@ -911,9 +913,13 @@ Deprecated. addV(String) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Adds a Vertex. + addV() - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Adds a Vertex with a default vertex label. + addV(Object...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal Deprecated. @@ -1092,7 +1098,9 @@ aggregate(String) - Static method in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__ aggregate(String) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Eagerly collects objects up to this step into a side-effect. + aggregate - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols aggregate(MutableMetrics) - Method in class org.apache.tinkerpop.gremlin.process.traversal.util.MutableMetrics @@ -1195,7 +1203,9 @@ and(Traversal?, ?...) - Static method in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__ and(Traversal?, ?...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Ensures that all of the provided traversals yield a result. + and - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols and(Predicate? super V) - Method in class org.apache.tinkerpop.gremlin.process.traversal.P @@ -1672,7 +1682,9 @@ as(String, String...) - Static method in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__ as(String, String...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +A step modulator that provides a lable to the step that can be accessed later in the traversal by other steps. + as - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols asAdmin() - Method in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal @@ -1923,11 +1935,20 @@ barrier(ConsumerTraverserSetObject) - Static method in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__ barrier() - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + barrier(int) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + barrier(ConsumerTraverserSetObject) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + barrier - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols BarrierB - Interface in org.apache.tinkerpop.gremlin.process.traversal.step @@ -2109,9 +2130,13 @@ branch(Traversal?, M) - Static method in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__ branch(Traversal?, M) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Split the Traverser to all the specified traversals. + branch(FunctionTraverserE, M) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Split the Traverser to all the specified functions. + branch - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols BranchStepS,E,M - Class in org.apache.tinkerpop.gremlin.process.traversal.step.branch @@ -2359,25 +2384,45 @@ bundles - Variable in class
svn commit: r1783487 [29/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/class-use/TraverserRequirement.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/class-use/TraverserRequirement.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/class-use/TraverserRequirement.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/class-use/TraverserRequirement.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.process.traversal.traverser.TraverserRequirement (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -181,7 +181,7 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -TraversalVertexProgramStep.getRequirements() +ComputerResultStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement @@ -189,11 +189,11 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -PeerPressureVertexProgramStep.getRequirements() +TraversalVertexProgramStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -ComputerResultStep.getRequirements() +PeerPressureVertexProgramStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement @@ -346,11 +346,11 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -RepeatStep.getRequirements() +LocalStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -LocalStep.getRequirements() +RepeatStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement @@ -376,15 +376,15 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -TailGlobalStep.getRequirements() +CoinStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -RangeGlobalStep.getRequirements() +IsStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -HasStep.getRequirements() +TraversalFilterStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement @@ -392,39 +392,39 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -WhereTraversalStep.getRequirements() +DedupGlobalStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -IsStep.getRequirements() +HasStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -WherePredicateStep.getRequirements() +WhereTraversalStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -SampleGlobalStep.getRequirements() +SimplePathStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -NotStep.getRequirements() +SampleGlobalStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -DedupGlobalStep.getRequirements() +TailGlobalStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">SetTraverserRequirement -CoinStep.getRequirements() +NotStep.getRequirements() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in
svn commit: r1783487 [32/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Property.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Property.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Property.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Property.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.structure.Property (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -381,12 +381,12 @@ VPropertyV -MultiMetaNeo4jTrait.getProperty(Neo4jVertexPropertyvertexProperty, +NoMultiNoMetaNeo4jTrait.getProperty(Neo4jVertexPropertyvertexProperty, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey) VPropertyV -NoMultiNoMetaNeo4jTrait.getProperty(Neo4jVertexPropertyvertexProperty, +MultiMetaNeo4jTrait.getProperty(Neo4jVertexPropertyvertexProperty, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey) @@ -396,13 +396,13 @@ VPropertyV -MultiMetaNeo4jTrait.setProperty(Neo4jVertexPropertyvertexProperty, +NoMultiNoMetaNeo4jTrait.setProperty(Neo4jVertexPropertyvertexProperty, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey, Vvalue) VPropertyV -NoMultiNoMetaNeo4jTrait.setProperty(Neo4jVertexPropertyvertexProperty, +MultiMetaNeo4jTrait.setProperty(Neo4jVertexPropertyvertexProperty, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey, Vvalue) @@ -423,12 +423,12 @@ Vhttp://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true; title="class or interface in java.util">IteratorPropertyV -MultiMetaNeo4jTrait.getProperties(Neo4jVertexPropertyvertexProperty, +NoMultiNoMetaNeo4jTrait.getProperties(Neo4jVertexPropertyvertexProperty, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...keys) Vhttp://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true; title="class or interface in java.util">IteratorPropertyV -NoMultiNoMetaNeo4jTrait.getProperties(Neo4jVertexPropertyvertexProperty, +MultiMetaNeo4jTrait.getProperties(Neo4jVertexPropertyvertexProperty, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...keys) @@ -577,13 +577,13 @@ -protected Element -PropertyElementStep.map(Traverser.AdminPropertyEtraverser) - - protected E PropertyValueStep.map(Traverser.AdminPropertyEtraverser) + +protected Element +PropertyElementStep.map(Traverser.AdminPropertyEtraverser) + protected http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String PropertyKeyStep.map(Traverser.AdminPropertytraverser) @@ -630,31 +630,38 @@ void +ConsoleMutationListener.edgePropertyChanged(Edgeelement, + PropertyoldValue, + http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectsetValue) + + +void MutationListener.edgePropertyChanged(Edgeelement, PropertyoldValue, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectsetValue) Raised after the property of a Edge changed. - + void -ConsoleMutationListener.edgePropertyChanged(Edgeelement, - PropertyoldValue, - http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectsetValue) +ConsoleMutationListener.edgePropertyRemoved(Edgeelement, + PropertyremovedValue) - + void MutationListener.edgePropertyRemoved(Edgeelement, Propertyproperty) Raised after an Property property was removed from an Edge. - + void -ConsoleMutationListener.edgePropertyRemoved(Edgeelement, - PropertyremovedValue) +ConsoleMutationListener.vertexPropertyChanged(Vertexelement, + PropertyoldValue, + http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectsetValue, +
svn commit: r1783487 [10/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/package-tree.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/package-tree.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/package-tree.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/package-tree.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + org.apache.tinkerpop.gremlin.process.traversal Class Hierarchy (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -212,14 +212,14 @@ java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) -org.apache.tinkerpop.gremlin.process.traversal.SackFunctions.Barrier (implements java.util.function.http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerT) +org.apache.tinkerpop.gremlin.process.traversal.Pop +org.apache.tinkerpop.gremlin.process.traversal.Order (implements java.util.http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorT) org.apache.tinkerpop.gremlin.process.traversal.Operator (implements java.util.function.http://docs.oracle.com/javase/8/docs/api/java/util/function/BinaryOperator.html?is-external=true; title="class or interface in java.util.function">BinaryOperatorT) +org.apache.tinkerpop.gremlin.process.traversal.Compare (implements java.util.function.http://docs.oracle.com/javase/8/docs/api/java/util/function/BiPredicate.html?is-external=true; title="class or interface in java.util.function">BiPredicateT,U) org.apache.tinkerpop.gremlin.process.traversal.TraversalEngine.Type -org.apache.tinkerpop.gremlin.process.traversal.Order (implements java.util.http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorT) -org.apache.tinkerpop.gremlin.process.traversal.Pop +org.apache.tinkerpop.gremlin.process.traversal.SackFunctions.Barrier (implements java.util.function.http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerT) org.apache.tinkerpop.gremlin.process.traversal.Scope org.apache.tinkerpop.gremlin.process.traversal.Contains (implements java.util.function.http://docs.oracle.com/javase/8/docs/api/java/util/function/BiPredicate.html?is-external=true; title="class or interface in java.util.function">BiPredicateT,U) -org.apache.tinkerpop.gremlin.process.traversal.Compare (implements java.util.function.http://docs.oracle.com/javase/8/docs/api/java/util/function/BiPredicate.html?is-external=true; title="class or interface in java.util.function">BiPredicateT,U) Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Column.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Column.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Column.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Column.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.structure.Column (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -109,7 +109,9 @@ default E2GraphTraversalS,http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionE2 -GraphTraversal.select(Columncolumn) +GraphTraversal.select(Columncolumn) +A version of select that allows for the extraction of a Column from objects in the traversal. + Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Edge.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Edge.html?rev=1783487=1783486=1783487=diff == ---
svn commit: r1783487 [31/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Graph.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Graph.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Graph.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/Graph.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.structure.Graph (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -408,19 +408,19 @@ void -GraphProvider.loadGraphData(Graphgraph, +AbstractGraphProvider.loadGraphData(Graphgraph, LoadGraphWithloadGraphWith, http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">ClasstestClass, - http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtestName) -Tests are annotated with a LoadGraphWith annotation. - + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtestName) void -AbstractGraphProvider.loadGraphData(Graphgraph, +GraphProvider.loadGraphData(Graphgraph, LoadGraphWithloadGraphWith, http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">ClasstestClass, - http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtestName) + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtestName) +Tests are annotated with a LoadGraphWith annotation. + void @@ -608,17 +608,17 @@ void -AbstractGraphSONMessageSerializerV2d0.configure(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectconfig, +AbstractGraphSONMessageSerializerV1d0.configure(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectconfig, http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,Graphgraphs) void -AbstractGryoMessageSerializerV1d0.configure(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectconfig, +AbstractGraphSONMessageSerializerV2d0.configure(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectconfig, http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,Graphgraphs) void -AbstractGraphSONMessageSerializerV1d0.configure(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectconfig,
svn commit: r1783487 [28/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/AbstractTraversalStrategy.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/AbstractTraversalStrategy.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/AbstractTraversalStrategy.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/AbstractTraversalStrategy.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + AbstractTraversalStrategy (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; Direct Known Subclasses: -AdjacentToIncidentStrategy, ComputerVerificationStrategy, ConnectiveStrategy, ElementIdStrategy, EventStrategy, FilterRankingStrategy, GraphFilterStrategy, HaltedTraverserStrategy, IdentityRemovalStrategy, IncidentToAdjacentStrategy, InlineFilterStrategy, LambdaRestrictionStrategy, LazyBarrierStrategy, LazyBarrierStrategy, MatchAlgorithmStrategy, MatchPredicateStrategy, MessagePassingReductionStrategy, Neo4jGraphStepStrategy, OrderLimitStrategy, PartitionStrategy, PathProcessorStrategy, PathRetractionStrategy, ProfileStrategy, RangeByIsCountStrategy, ReadOnlyStrategy, RemoteStrategy, RepeatUnrollStrategy, RequirementsStrategy, SackStrategy, SideEffectStrategy, SparkInterceptorStrategy, SparkSingleIterationStrategy, Standard VerificationStrategy, SubgraphStrategy, TinkerGraphCountStrategy, TinkerGraphStepStrategy, TranslationStrategy, VertexProgramStrategy +AdjacentToIncidentStrategy, ComputerVerificationStrategy, ConnectiveStrategy, ElementIdStrategy, EventStrategy, FilterRankingStrategy, GraphFilterStrategy, HaltedTraverserStrategy, IdentityRemovalStrategy, IncidentToAdjacentStrategy, InlineFilterStrategy, LambdaRestrictionStrategy, LazyBarrierStrategy, LazyBarrierStrategy, MatchAlgorithmStrategy, MatchPredicateStrategy, MessagePassingReductionStrategy, Neo4jGraphStepStrategy, OrderLimitStrategy, PartitionStrategy, PathProcessorStrategy, PathRetractionStrategy, ProfileStrategy, RangeByIsCountStrategy, ReadOnlyStrategy, RemoteStrategy, RepeatUnrollStrategy, RequirementsStrategy, SackStrategy, SideEffectStrategy, SparkInterceptorStrategy, SparkSingleIterationStrategy, Standard VerificationStrategy, SubgraphStrategy, TinkerGraphCountStrategy, TinkerGraphStepStrategy, TranslationStrategy, VertexProgramStrategy Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/class-use/AbstractTraversalStrategy.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/class-use/AbstractTraversalStrategy.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/class-use/AbstractTraversalStrategy.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/strategy/class-use/AbstractTraversalStrategy.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -285,10 +285,18 @@ class -MatchAlgorithmStrategy +LazyBarrierStrategy +Deprecated. +As of release 3.2.3. Please use LazyBarrierStrategy. + + class +MatchAlgorithmStrategy + + +class ProfileStrategy @@ -339,37 +347,33 @@ class -LazyBarrierStrategy - - -class MatchPredicateStrategy MatchWhereStrategy will fold any post-where() step that maintains a traversal constraint into match(). - + class OrderLimitStrategy - + class PathProcessorStrategy PathProcessStrategy is an OLAP strategy that does its best to turn non-local children in where() and select() into local children by inlining components of the non-local child. - + class PathRetractionStrategy - + class RangeByIsCountStrategy This strategy optimizes any occurrence of CountGlobalStep followed by an IsStep. - + class RepeatUnrollStrategy
svn commit: r1783487 [19/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.Traversal (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -668,7 +668,9 @@ default GraphTraversalS,E -GraphTraversal.and(Traversal?,?...andTraversals) +GraphTraversal.and(Traversal?,?...andTraversals) +Ensures that all of the provided traversals yield a result. + static AGraphTraversalA,A @@ -680,16 +682,22 @@ default M,E2GraphTraversalS,E2 -GraphTraversal.branch(Traversal?,MbranchTraversal) +GraphTraversal.branch(Traversal?,MbranchTraversal) +Split the Traverser to all the specified traversals. + default GraphTraversalS,E -GraphTraversal.by(Traversal?,?traversal) +GraphTraversal.by(Traversal?,?traversal) +The by() can be applied to a number of different step to alter their behaviors. + default VGraphTraversalS,E GraphTraversal.by(Traversal?,?traversal, - http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorVcomparator) + http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorVcomparator) +The by() can be applied to a number of different step to alter their behaviors. + static A,BGraphTraversalA,B @@ -711,47 +719,71 @@ default E2GraphTraversalS,E2 GraphTraversal.choose(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateEchoosePredicate, - Traversal?,E2trueChoice) + Traversal?,E2trueChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then + like semantics within a traversal. + default E2GraphTraversalS,E2 GraphTraversal.choose(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateEchoosePredicate, Traversal?,E2trueChoice, - Traversal?,E2falseChoice) + Traversal?,E2falseChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + like semantics within a traversal. + default E2GraphTraversalS,E2 GraphTraversal.choose(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateEchoosePredicate, Traversal?,E2trueChoice, - Traversal?,E2falseChoice) + Traversal?,E2falseChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + like semantics within a traversal. + default E2GraphTraversalS,E2 GraphTraversal.choose(Traversal?,?traversalPredicate, - Traversal?,E2trueChoice) + Traversal?,E2trueChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then + like semantics within a traversal. + default E2GraphTraversalS,E2 GraphTraversal.choose(Traversal?,?traversalPredicate, - Traversal?,E2trueChoice) + Traversal?,E2trueChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then + like semantics within a traversal. + default E2GraphTraversalS,E2 GraphTraversal.choose(Traversal?,?traversalPredicate, Traversal?,E2trueChoice, - Traversal?,E2falseChoice) + Traversal?,E2falseChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + like semantics within a traversal. + default E2GraphTraversalS,E2 GraphTraversal.choose(Traversal?,?traversalPredicate, Traversal?,E2trueChoice, - Traversal?,E2falseChoice) + Traversal?,E2falseChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + like semantics within a traversal. + default E2GraphTraversalS,E2 GraphTraversal.choose(Traversal?,?traversalPredicate, Traversal?,E2trueChoice, - Traversal?,E2falseChoice) + Traversal?,E2falseChoice) +Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + like semantics
svn commit: r1783487 [23/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + GraphTraversal (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -181,7 +181,9 @@ extends default GraphTraversalS,Edge -addE(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringedgeLabel) +addE(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringedgeLabel) +Adds an Edge with the specified edge label. + default GraphTraversalS,Edge @@ -205,7 +207,9 @@ extends default GraphTraversalS,Vertex -addV() +addV() +Adds a Vertex with a default vertex label. + default GraphTraversalS,Vertex @@ -217,20 +221,28 @@ extends default GraphTraversalS,Vertex -addV(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringvertexLabel) +addV(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringvertexLabel) +Adds a Vertex. + default GraphTraversalS,E -aggregate(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsideEffectKey) +aggregate(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsideEffectKey) +Eagerly collects objects up to this step into a side-effect. + default GraphTraversalS,E -and(Traversal?,?...andTraversals) +and(Traversal?,?...andTraversals) +Ensures that all of the provided traversals yield a result. + default GraphTraversalS,E as(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringstepLabel, - http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...stepLabels) + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...stepLabels) +A step modulator that provides a lable to the step that can be accessed later in the traversal by other steps. + default GraphTraversal.AdminS,E @@ -240,15 +252,24 @@ extends default GraphTraversalS,E -barrier() +barrier() +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + default GraphTraversalS,E -barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + default GraphTraversalS,E -barrier(intmaxBarrierSize) +barrier(intmaxBarrierSize) +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + default GraphTraversalS,Vertex @@ -270,93 +291,139 @@ extends default M,E2GraphTraversalS,E2 -branch(http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true; title="class or interface in java.util.function">FunctionTraverserE,Mfunction) +branch(http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true; title="class or interface in java.util.function">FunctionTraverserE,Mfunction) +Split the Traverser to all the specified functions. + default M,E2GraphTraversalS,E2 -branch(Traversal?,MbranchTraversal) +branch(Traversal?,MbranchTraversal) +Split the Traverser to all the specified traversals. + default GraphTraversalS,E -by() +by() +The by() can be applied to a number of different step to alter their
svn commit: r1783487 [16/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/Memory.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/Memory.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/Memory.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/Memory.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.computer.Memory (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -707,13 +707,13 @@ -TraversalVertexProgram -TraversalVertexProgramStep.generateProgram(Graphgraph, +VertexProgram +ProgramVertexProgramStep.generateProgram(Graphgraph, Memorymemory) -VertexProgram -ProgramVertexProgramStep.generateProgram(Graphgraph, +TraversalVertexProgram +TraversalVertexProgramStep.generateProgram(Graphgraph, Memorymemory) Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/MemoryComputeKey.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/MemoryComputeKey.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/MemoryComputeKey.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/MemoryComputeKey.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.process.computer.MemoryComputeKey (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -244,15 +244,15 @@ -default MemoryComputeKey -LocalBarrier.getMemoryComputeKey() - - MemoryComputeKeyM MemoryComputing.getMemoryComputeKey() The MemoryComputeKey that will be used by this step. + +default MemoryComputeKey +LocalBarrier.getMemoryComputeKey() + @@ -268,17 +268,17 @@ +MemoryComputeKeyhttp://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object,Traverser.AdminS +DedupGlobalStep.getMemoryComputeKey() + + MemoryComputeKeyTraverserSetS TailGlobalStep.getMemoryComputeKey() - + MemoryComputeKeyTraverserSetS RangeGlobalStep.getMemoryComputeKey() - -MemoryComputeKeyhttp://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object,Traverser.AdminS -DedupGlobalStep.getMemoryComputeKey() - @@ -325,20 +325,20 @@ -MemoryComputeKeyTraverserSetS -CollectingBarrierStep.getMemoryComputeKey() +MemoryComputeKeyE +ReducingBarrierStep.getMemoryComputeKey() -MemoryComputeKeyMutableMetrics -ProfileStep.getMemoryComputeKey() +MemoryComputeKeyTraverserSetS +CollectingBarrierStep.getMemoryComputeKey() MemoryComputeKeyhttp://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean SupplyingBarrierStep.getMemoryComputeKey() -MemoryComputeKeyE -ReducingBarrierStep.getMemoryComputeKey() +MemoryComputeKeyMutableMetrics +ProfileStep.getMemoryComputeKey() Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/VertexProgram.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/VertexProgram.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/VertexProgram.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/computer/class-use/VertexProgram.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -655,7 +655,9 @@ default GraphTraversalS,E -GraphTraversal.program(VertexProgram?vertexProgram) +GraphTraversal.program(VertexProgram?vertexProgram) +Executes a Peer Pressure community detection algorithm over the graph. + Modified:
svn commit: r1783487 [11/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/deprecated-list.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/deprecated-list.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/deprecated-list.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/deprecated-list.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Deprecated List (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -682,13 +682,13 @@ -org.apache.tinkerpop.gremlin.jsr223.CoreGremlinPlugin.INSTANCE -As of 3.2.4, replaced by CoreGremlinPlugin.instance() as this field will later become private. +org.apache.tinkerpop.gremlin.jsr223.CoreGremlinModule.INSTANCE +As of 3.2.4, replaced by CoreGremlinModule.instance() as this field will later become private. -org.apache.tinkerpop.gremlin.jsr223.CoreGremlinModule.INSTANCE -As of 3.2.4, replaced by CoreGremlinModule.instance() as this field will later become private. +org.apache.tinkerpop.gremlin.jsr223.CoreGremlinPlugin.INSTANCE +As of 3.2.4, replaced by CoreGremlinPlugin.instance() as this field will later become private. @@ -803,13 +803,13 @@ org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.addInE(String, String, Object...) -org.apache.tinkerpop.gremlin.jsr223.DefaultGremlinScriptEngineManager.addModule(GremlinModule) -As of release 3.2.4, replaced by DefaultGremlinScriptEngineManager.addPlugin(GremlinPlugin). +org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngineManager.addModule(GremlinModule) +As of release 3.2.4, replaced by GremlinScriptEngineManager.addPlugin(GremlinPlugin). -org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngineManager.addModule(GremlinModule) -As of release 3.2.4, replaced by GremlinScriptEngineManager.addPlugin(GremlinPlugin). +org.apache.tinkerpop.gremlin.jsr223.DefaultGremlinScriptEngineManager.addModule(GremlinModule) +As of release 3.2.4, replaced by DefaultGremlinScriptEngineManager.addPlugin(GremlinPlugin). @@ -844,7 +844,7 @@ org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.addV(Object...) -org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.build() +org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.build() As of release 3.2.0. Please use Graph.traversal(Class). @@ -854,7 +854,7 @@ -org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.build() +org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.build() As of release 3.2.0. Please use Graph.traversal(Class). @@ -881,32 +881,32 @@ -org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.computer(Class? extends GraphComputer) +org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.computer(Class? extends GraphComputer) As of release 3.2.0. Please use Graph.traversal(Class). -org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.computer(Class? extends GraphComputer) +org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.computer(Class? extends GraphComputer) As of release 3.2.0. Please use Graph.traversal(Class). -org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.Builder.create(Graph) +org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.Builder.create(Graph) As of release 3.2.0. Please use Graph.traversal(Class). -org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.Builder.create(Graph) +org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.create(Graph) As of release 3.2.0. Please use Graph.traversal(Class). -org.apache.tinkerpop.gremlin.process.traversal.engine.ComputerTraversalEngine.Builder.create(Graph) +org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.Builder.create(Graph) As of release 3.2.0. Please use Graph.traversal(Class). -org.apache.tinkerpop.gremlin.process.traversal.engine.StandardTraversalEngine.Builder.create(Graph) +org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.Builder.create(Graph) As of release 3.2.0. Please use Graph.traversal(Class). @@ -948,12 +948,12 @@ -org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.Builder.engine(TraversalEngine.Builder) +org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.Builder.engine(TraversalEngine.Builder) As of release 3.2.0. Please use Graph.traversal(Class). -org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.Builder.engine(TraversalEngine.Builder) +org.apache.tinkerpop.gremlin.process.traversal.TraversalSource.Builder.engine(TraversalEngine.Builder) As of release 3.2.0. Please use Graph.traversal(Class). @@
svn commit: r1783487 [15/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngine.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngine.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngine.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngine.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngine (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -153,56 +153,56 @@ GremlinScriptEngine -DefaultGremlinScriptEngineManager.getEngineByExtension(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringextension) +GremlinScriptEngineManager.getEngineByExtension(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringextension) Look up and create a GremlinScriptEngine for a given extension. GremlinScriptEngine -GremlinScriptEngineManager.getEngineByExtension(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringextension) -Look up and create a GremlinScriptEngine for a given extension. +CachedGremlinScriptEngineManager.getEngineByExtension(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringextension) +Gets a GremlinScriptEngine from cache or creates a new one from the GremlinScriptEngineFactory. GremlinScriptEngine -CachedGremlinScriptEngineManager.getEngineByExtension(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringextension) -Gets a GremlinScriptEngine from cache or creates a new one from the GremlinScriptEngineFactory. +DefaultGremlinScriptEngineManager.getEngineByExtension(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringextension) +Look up and create a GremlinScriptEngine for a given extension. GremlinScriptEngine -DefaultGremlinScriptEngineManager.getEngineByMimeType(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringmimeType) +GremlinScriptEngineManager.getEngineByMimeType(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringmimeType) Look up and create a GremlinScriptEngine for a given mime type. GremlinScriptEngine -GremlinScriptEngineManager.getEngineByMimeType(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringmimeType) -Look up and create a GremlinScriptEngine for a given mime type. +CachedGremlinScriptEngineManager.getEngineByMimeType(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringmimeType) +Gets a GremlinScriptEngine from cache or creates a new one from the GremlinScriptEngineFactory. GremlinScriptEngine -CachedGremlinScriptEngineManager.getEngineByMimeType(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringmimeType) -Gets a GremlinScriptEngine from cache or creates a new one from the GremlinScriptEngineFactory. +DefaultGremlinScriptEngineManager.getEngineByMimeType(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringmimeType) +Look up and create a GremlinScriptEngine for a given mime type. GremlinScriptEngine -DefaultGremlinScriptEngineManager.getEngineByName(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringshortName) +GremlinScriptEngineManager.getEngineByName(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringshortName) Looks up and creates a GremlinScriptEngine for a given name. GremlinScriptEngine -GremlinScriptEngineManager.getEngineByName(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringshortName) -Looks up and creates a GremlinScriptEngine for a given name. +CachedGremlinScriptEngineManager.getEngineByName(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in
svn commit: r1783487 [30/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/util/class-use/TraverserSet.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/util/class-use/TraverserSet.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/util/class-use/TraverserSet.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/traverser/util/class-use/TraverserSet.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -204,7 +204,10 @@ default GraphTraversalS,E -GraphTraversal.barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +GraphTraversal.barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + static AGraphTraversalA,A @@ -346,11 +349,11 @@ void -LambdaCollectingBarrierStep.barrierConsumer(TraverserSetStraverserSet) +OrderGlobalStep.barrierConsumer(TraverserSetStraverserSet) void -OrderGlobalStep.barrierConsumer(TraverserSetStraverserSet) +LambdaCollectingBarrierStep.barrierConsumer(TraverserSetStraverserSet) Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/util/class-use/TraversalMetrics.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/util/class-use/TraversalMetrics.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/util/class-use/TraversalMetrics.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/util/class-use/TraversalMetrics.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.util.TraversalMetrics (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -137,7 +137,10 @@ default GraphTraversalS,TraversalMetrics -GraphTraversal.profile() +GraphTraversal.profile() +Allows developers to examine statistical information about a traversal providing data like execution times, + counts, etc. + Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/server/auth/class-use/AuthenticatedUser.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/server/auth/class-use/AuthenticatedUser.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/server/auth/class-use/AuthenticatedUser.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/server/auth/class-use/AuthenticatedUser.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.server.auth.AuthenticatedUser (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -118,7 +118,9 @@ AuthenticatedUser -AllowAllAuthenticator.authenticate(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringcredentials) +Authenticator.authenticate(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringcredentials) +A "standard"
svn commit: r1783487 [34/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/VertexProperty.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/VertexProperty.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/VertexProperty.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/structure/class-use/VertexProperty.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.structure.VertexProperty (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -386,12 +386,12 @@ VVertexPropertyV -MultiMetaNeo4jTrait.getVertexProperty(Neo4jVertexvertex, +NoMultiNoMetaNeo4jTrait.getVertexProperty(Neo4jVertexvertex, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey) VVertexPropertyV -NoMultiNoMetaNeo4jTrait.getVertexProperty(Neo4jVertexvertex, +MultiMetaNeo4jTrait.getVertexProperty(Neo4jVertexvertex, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey) @@ -401,7 +401,7 @@ VVertexPropertyV -MultiMetaNeo4jTrait.setVertexProperty(Neo4jVertexvertex, +NoMultiNoMetaNeo4jTrait.setVertexProperty(Neo4jVertexvertex, VertexProperty.Cardinalitycardinality, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey, Vvalue, @@ -409,7 +409,7 @@ VVertexPropertyV -NoMultiNoMetaNeo4jTrait.setVertexProperty(Neo4jVertexvertex, +MultiMetaNeo4jTrait.setVertexProperty(Neo4jVertexvertex, VertexProperty.Cardinalitycardinality, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey, Vvalue, @@ -434,12 +434,12 @@ Vhttp://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true; title="class or interface in java.util">IteratorVertexPropertyV -MultiMetaNeo4jTrait.getVertexProperties(Neo4jVertexvertex, +NoMultiNoMetaNeo4jTrait.getVertexProperties(Neo4jVertexvertex, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...keys) Vhttp://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true; title="class or interface in java.util">IteratorVertexPropertyV -NoMultiNoMetaNeo4jTrait.getVertexProperties(Neo4jVertexvertex, +MultiMetaNeo4jTrait.getVertexProperties(Neo4jVertexvertex, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...keys) @@ -472,25 +472,25 @@ VertexProperty -IncrementalBulkLoader.getOrCreateVertexProperty(VertexProperty?property, +OneTimeBulkLoader.getOrCreateVertexProperty(VertexProperty?property, Vertexvertex, Graphgraph, GraphTraversalSourceg) -Gets or creates a clone of the given property for the given vertex. +Creates a clone of the given property for the given vertex. VertexProperty -OneTimeBulkLoader.getOrCreateVertexProperty(VertexProperty?property, +BulkLoader.getOrCreateVertexProperty(VertexProperty?property, Vertexvertex, Graphgraph, GraphTraversalSourceg) -Creates a clone of the given property for the given vertex. +Gets or creates a clone of the given property for the given vertex. VertexProperty -BulkLoader.getOrCreateVertexProperty(VertexProperty?property, +IncrementalBulkLoader.getOrCreateVertexProperty(VertexProperty?property, Vertexvertex, Graphgraph, GraphTraversalSourceg) @@ -517,25 +517,25 @@ VertexProperty -IncrementalBulkLoader.getOrCreateVertexProperty(VertexProperty?property, +OneTimeBulkLoader.getOrCreateVertexProperty(VertexProperty?property, Vertexvertex, Graphgraph, GraphTraversalSourceg) -Gets or creates a clone of the given property for the given vertex. +Creates a clone of the given property for the given vertex. VertexProperty -OneTimeBulkLoader.getOrCreateVertexProperty(VertexProperty?property, +BulkLoader.getOrCreateVertexProperty(VertexProperty?property, Vertexvertex, Graphgraph, GraphTraversalSourceg) -Creates a
svn commit: r1783487 [20/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/TraversalStrategy.OptimizationStrategy.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/TraversalStrategy.OptimizationStrategy.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/TraversalStrategy.OptimizationStrategy.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/TraversalStrategy.OptimizationStrategy.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -243,19 +243,19 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -MatchPredicateStrategy.applyPost() +PathProcessorStrategy.applyPost() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -PathProcessorStrategy.applyPost() +InlineFilterStrategy.applyPost() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -InlineFilterStrategy.applyPost() +MatchPredicateStrategy.applyPost() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -FilterRankingStrategy.applyPrior() +IncidentToAdjacentStrategy.applyPrior() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy @@ -263,15 +263,15 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -MatchPredicateStrategy.applyPrior() +PathProcessorStrategy.applyPrior() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -PathProcessorStrategy.applyPrior() +InlineFilterStrategy.applyPrior() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -IncidentToAdjacentStrategy.applyPrior() +MatchPredicateStrategy.applyPrior() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy @@ -279,11 +279,11 @@ http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -InlineFilterStrategy.applyPrior() +AdjacentToIncidentStrategy.applyPrior() http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends TraversalStrategy.OptimizationStrategy -AdjacentToIncidentStrategy.applyPrior()
svn commit: r1783487 [21/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.Admin.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.Admin.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.Admin.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.Admin.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -229,13 +229,13 @@ -protected Traverser.AdminComputerResult -VertexProgramStep.processNextStart() - - protected Traverser.AdminS ComputerResultStep.processNextStart() + +protected Traverser.AdminComputerResult +VertexProgramStep.processNextStart() + @@ -504,15 +504,15 @@ void -TokenTraversal.addStart(Traverser.AdminSstart) +LoopTraversal.addStart(Traverser.AdminSstart) void -IdentityTraversal.addStart(Traverser.AdminSstart) +TokenTraversal.addStart(Traverser.AdminSstart) void -LoopTraversal.addStart(Traverser.AdminSstart) +IdentityTraversal.addStart(Traverser.AdminSstart) void @@ -648,24 +648,24 @@ -Traverser.AdminS -TailGlobalStep.processNextStart() +protected Traverser.AdminS +FilterStep.processNextStart() -protected Traverser.AdminS -WhereTraversalStep.processNextStart() +protected Traverser.AdminS +DedupGlobalStep.processNextStart() -protected Traverser.AdminS -WherePredicateStep.processNextStart() +protected Traverser.AdminS +WhereTraversalStep.processNextStart() -protected Traverser.AdminS -DedupGlobalStep.processNextStart() +Traverser.AdminS +TailGlobalStep.processNextStart() -protected Traverser.AdminS -FilterStep.processNextStart() +protected Traverser.AdminS +WherePredicateStep.processNextStart() @@ -699,75 +699,75 @@ protected boolean -TimeLimitStep.filter(Traverser.AdminStraverser) +CyclicPathStep.filter(Traverser.AdminStraverser) protected boolean -CyclicPathStep.filter(Traverser.AdminStraverser) +CoinStep.filter(Traverser.AdminStraverser) -protected boolean -RangeGlobalStep.filter(Traverser.AdminStraverser) +protected abstract boolean +FilterStep.filter(Traverser.AdminStraverser) protected boolean -HasStep.filter(Traverser.AdminStraverser) +IsStep.filter(Traverser.AdminStraverser) protected boolean -WhereTraversalStep.filter(Traverser.AdminStraverser) +TraversalFilterStep.filter(Traverser.AdminStraverser) protected boolean -DropStep.filter(Traverser.AdminStraverser) +DedupGlobalStep.filter(Traverser.AdminStraverser) protected boolean -IsStep.filter(Traverser.AdminStraverser) +HasStep.filter(Traverser.AdminStraverser) protected boolean -AndStep.filter(Traverser.AdminStraverser) +WhereTraversalStep.filter(Traverser.AdminStraverser) protected boolean -WherePredicateStep.filter(Traverser.AdminStraverser) +SimplePathStep.filter(Traverser.AdminStraverser) -protected boolean -OrStep.filter(Traverser.AdminStraverser) +boolean +ClassFilterStep.filter(Traverser.AdminStraverser) protected boolean -NotStep.filter(Traverser.AdminStraverser) +OrStep.filter(Traverser.AdminStraverser) protected boolean -DedupGlobalStep.filter(Traverser.AdminStraverser) +TimeLimitStep.filter(Traverser.AdminStraverser) protected boolean -CoinStep.filter(Traverser.AdminStraverser) +NotStep.filter(Traverser.AdminStraverser) protected boolean -SimplePathStep.filter(Traverser.AdminStraverser) +RangeGlobalStep.filter(Traverser.AdminStraverser) -boolean -ClassFilterStep.filter(Traverser.AdminStraverser) +protected boolean +DropStep.filter(Traverser.AdminStraverser) protected boolean -LambdaFilterStep.filter(Traverser.AdminStraverser) +WherePredicateStep.filter(Traverser.AdminStraverser) -protected abstract boolean -FilterStep.filter(Traverser.AdminStraverser) +protected boolean +AndStep.filter(Traverser.AdminStraverser) protected boolean -TraversalFilterStep.filter(Traverser.AdminStraverser) +LambdaFilterStep.filter(Traverser.AdminStraverser) protected http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object @@ -805,41 +805,33 @@ -protected Traverser.AdminVertex -AddVertexStartStep.processNextStart() +protected Traverser.Adminhttp://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,E +SelectStep.processNextStart() -protected Traverser.AdminE
svn commit: r1783487 [6/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs/
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.process.traversal.Scope (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -140,7 +140,10 @@ the order they are declared. default GraphTraversalS,http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long -GraphTraversal.count(Scopescope) +GraphTraversal.count(Scopescope) +Map the traversal stream to its reduction as a sum of the Traverser.bulk() values given the specified + Scope (i.e. + default GraphTraversalS,E @@ -152,19 +155,28 @@ the order they are declared. default E2GraphTraversalS,E2 GraphTraversal.limit(Scopescope, - longlimit) + longlimit) +Filter the objects in the traversal by the number of them to pass through the stream given the Scope, + where only the first n objects are allowed as defined by the limit argument. + default E2 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true; title="class or interface in java.lang">NumberGraphTraversalS,E2 -GraphTraversal.max(Scopescope) +GraphTraversal.max(Scopescope) +Determines the largest value in the stream given the Scope. + default E2 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true; title="class or interface in java.lang">NumberGraphTraversalS,E2 -GraphTraversal.mean(Scopescope) +GraphTraversal.mean(Scopescope) +Determines the mean value in the stream given the Scope. + default E2 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true; title="class or interface in java.lang">NumberGraphTraversalS,E2 -GraphTraversal.min(Scopescope) +GraphTraversal.min(Scopescope) +Determines the smallest value in the stream given the Scope. + default GraphTraversalS,E @@ -176,25 +188,37 @@ the order they are declared. default E2GraphTraversalS,E2 GraphTraversal.range(Scopescope, longlow, - longhigh) + longhigh) +Filter the objects in the traversal by the number of them to pass through the stream as constrained by the + Scope. + default GraphTraversalS,E GraphTraversal.sample(Scopescope, - intamountToSample) + intamountToSample) +Allow some specified number of objects to pass through the stream. + default E2 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true; title="class or interface in java.lang">NumberGraphTraversalS,E2 -GraphTraversal.sum(Scopescope) +GraphTraversal.sum(Scopescope) +Map the traversal stream to its reduction as a sum of the Traverser.get() values multiplied by their + Traverser.bulk() given the specified Scope (i.e. + default E2GraphTraversalS,E2 -GraphTraversal.tail(Scopescope) +GraphTraversal.tail(Scopescope) +Filters the objects in the traversal emitted as being last objects in the stream given the Scope. + default E2GraphTraversalS,E2 GraphTraversal.tail(Scopescope, -longlimit) +longlimit) +Filters the objects in the traversal emitted as being last objects in the stream given the Scope. + Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.Traversal (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -339,81 +339,123 @@ default GraphTraversalS,E -GraphTraversal.and(Traversal?,?...andTraversals) +GraphTraversal.and(Traversal?,?...andTraversals) +Ensures that all of the provided traversals yield a result. + default M,E2GraphTraversalS,E2 -GraphTraversal.branch(Traversal?,MbranchTraversal) +GraphTraversal.branch(Traversal?,MbranchTraversal) +Split the Traverser to all the specified
svn commit: r1783487 [17/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Path.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Path.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Path.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Path.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.Path (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -567,19 +567,19 @@ protected Path -LP_O_OB_S_SE_SL_Traverser.path +B_LP_O_S_SE_SL_Traverser.path protected Path -B_LP_O_P_S_SE_SL_Traverser.path +LP_O_OB_P_S_SE_SL_Traverser.path protected Path -LP_O_OB_P_S_SE_SL_Traverser.path +B_LP_O_P_S_SE_SL_Traverser.path protected Path -B_LP_O_S_SE_SL_Traverser.path +LP_O_OB_S_SE_SL_Traverser.path @@ -592,23 +592,23 @@ Path -ProjectedTraverser.path() +B_LP_O_S_SE_SL_Traverser.path() Path -LP_O_OB_S_SE_SL_Traverser.path() +LP_O_OB_P_S_SE_SL_Traverser.path() Path -B_LP_O_P_S_SE_SL_Traverser.path() +ProjectedTraverser.path() Path -LP_O_OB_P_S_SE_SL_Traverser.path() +B_LP_O_P_S_SE_SL_Traverser.path() Path -B_LP_O_S_SE_SL_Traverser.path() +LP_O_OB_S_SE_SL_Traverser.path() Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Pop.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Pop.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Pop.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Pop.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.process.traversal.Pop (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -180,7 +180,10 @@ the order they are declared. default E2GraphTraversalS,E2 GraphTraversal.select(Poppop, - http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringselectKey) + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringselectKey) +Map the Traverser to the object specified by the selectKey and apply the Pop operation + to it. + static A,BGraphTraversalA,http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,B Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.process.traversal.Scope (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -144,7 +144,10 @@ the order they are declared. default GraphTraversalS,http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long -GraphTraversal.count(Scopescope) +GraphTraversal.count(Scopescope) +Map the traversal stream to its reduction as a sum of the Traverser.bulk() values given the specified + Scope (i.e. + static AGraphTraversalA,http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long @@ -170,7 +173,10 @@ the order they are declared. default E2GraphTraversalS,E2 GraphTraversal.limit(Scopescope, - longlimit) + longlimit) +Filter the objects in the traversal by the number of them to pass through the stream given the Scope, + where only the first n objects are allowed as defined by the limit argument. + static A,B extends http://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true; title="class or interface in
svn commit: r1783487 [25/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -251,7 +251,9 @@ default GraphTraversalS,Edge -GraphTraversal.addE(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringedgeLabel) +GraphTraversal.addE(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringedgeLabel) +Adds an Edge with the specified edge label. + static AGraphTraversalA,Edge @@ -299,7 +301,9 @@ default GraphTraversalS,Vertex -GraphTraversal.addV() +GraphTraversal.addV() +Adds a Vertex with a default vertex label. + static AGraphTraversalA,Vertex @@ -333,7 +337,9 @@ default GraphTraversalS,Vertex -GraphTraversal.addV(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringvertexLabel) +GraphTraversal.addV(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringvertexLabel) +Adds a Vertex. + static AGraphTraversalA,Vertex @@ -341,7 +347,9 @@ default GraphTraversalS,E -GraphTraversal.aggregate(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsideEffectKey) +GraphTraversal.aggregate(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsideEffectKey) +Eagerly collects objects up to this step into a side-effect. + static AGraphTraversalA,A @@ -349,7 +357,9 @@ default GraphTraversalS,E -GraphTraversal.and(Traversal?,?...andTraversals) +GraphTraversal.and(Traversal?,?...andTraversals) +Ensures that all of the provided traversals yield a result. + static AGraphTraversalA,A @@ -358,7 +368,9 @@ default GraphTraversalS,E GraphTraversal.as(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringstepLabel, - http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...stepLabels) + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...stepLabels) +A step modulator that provides a lable to the step that can be accessed later in the traversal by other steps. + static AGraphTraversalA,A @@ -367,7 +379,10 @@ default GraphTraversalS,E -GraphTraversal.barrier() +GraphTraversal.barrier() +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + static AGraphTraversalA,A @@ -375,7 +390,10 @@ default GraphTraversalS,E -GraphTraversal.barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +GraphTraversal.barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + static AGraphTraversalA,A @@ -383,7 +401,10 @@ default GraphTraversalS,E -GraphTraversal.barrier(intmaxBarrierSize) +GraphTraversal.barrier(intmaxBarrierSize) +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + static AGraphTraversalA,A @@ -425,7 +446,9 @@ default M,E2GraphTraversalS,E2
svn commit: r1783487 [1/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs/
Author: spmallette Date: Sat Feb 18 01:43:01 2017 New Revision: 1783487 URL: http://svn.apache.org/viewvc?rev=1783487=rev Log: Deploy docs for TinkerPop 3.2.5-SNAPSHOT Modified: tinkerpop/site/docs/3.2.5-SNAPSHOT/dev/provider/index.html tinkerpop/site/docs/3.2.5-SNAPSHOT/recipes/index.html tinkerpop/site/docs/3.2.5-SNAPSHOT/reference/index.html tinkerpop/site/docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/index.html tinkerpop/site/docs/3.2.5-SNAPSHOT/upgrade/index.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/deprecated-list.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/index-all.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/Customizer.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinModule.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinPlugin.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngine.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngineFactory.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/computer/class-use/VertexProgram.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/computer/package-tree.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/Order.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Order.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/P.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Pop.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Scope.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traversal.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/package-tree.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Column.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Edge.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Graph.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Property.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/T.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/class-use/Vertex.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/io/class-use/Io.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/io/class-use/Mapper.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/structure/package-tree.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/overview-tree.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/deprecated-list.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/index-all.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/algorithm/generator/class-use/Distribution.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/AbstractGremlinTest.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/FeatureRequirement.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/FeatureRequirementSet.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/LoadGraphWith.GraphData.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/LoadGraphWith.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/driver/message/class-use/RequestMessage.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/driver/message/class-use/ResponseMessage.html tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/driver/ser/class-use/SerializationException.html
svn commit: r1783487 [13/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/algorithm/generator/class-use/Distribution.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/algorithm/generator/class-use/Distribution.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/algorithm/generator/class-use/Distribution.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/algorithm/generator/class-use/Distribution.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.algorithm.generator.Distribution (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -162,7 +162,7 @@ Distribution -CopyDistribution.initialize(intinvocations, +NormalDistribution.initialize(intinvocations, intexpectedTotal) @@ -175,7 +175,7 @@ Distribution -NormalDistribution.initialize(intinvocations, +CopyDistribution.initialize(intinvocations, intexpectedTotal) Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/AbstractGremlinTest.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/AbstractGremlinTest.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/AbstractGremlinTest.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/AbstractGremlinTest.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.AbstractGremlinTest (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -420,25 +420,25 @@ void -GroovyProcessComputerSuite.afterTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) +GroovyProcessStandardSuite.afterTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) Deprecated. void -GroovyProcessStandardSuite.afterTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) +GroovyProcessComputerSuite.afterTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) Deprecated. boolean -GroovyProcessComputerSuite.beforeTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) +GroovyProcessStandardSuite.beforeTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) Deprecated. boolean -GroovyProcessStandardSuite.beforeTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) +GroovyProcessComputerSuite.beforeTestExecution(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends AbstractGremlinTesttestClass) Deprecated. Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/FeatureRequirement.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/FeatureRequirement.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/FeatureRequirement.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/class-use/FeatureRequirement.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.FeatureRequirement (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -169,11 +169,11 @@ http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListFeatureRequirement -FeatureRequirementSet.Package.featuresRequired() +LoadGraphWith.GraphData.featuresRequired() http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListFeatureRequirement
svn commit: r1783487 [24/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.Admin.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.Admin.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.Admin.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/class-use/GraphTraversal.Admin.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Admin (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -121,13 +121,13 @@ GraphTraversal.Admin.addStep(Step?,E2step) -default GraphTraversal.AdminS,E -GraphTraversal.asAdmin() - - GraphTraversal.AdminS,E DefaultGraphTraversal.asAdmin() + +default GraphTraversal.AdminS,E +GraphTraversal.asAdmin() + GraphTraversal.AdminS,E GraphTraversal.Admin.clone()
svn commit: r1783487 [35/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/overview-tree.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/overview-tree.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/overview-tree.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/overview-tree.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Class Hierarchy (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -1056,8 +1056,8 @@ org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.IncidentToAdjacentStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy) org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.InlineFilterStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy) org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.LambdaRestrictionStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.VerificationStrategy) -org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.LazyBarrierStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy) org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization.LazyBarrierStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.FinalizationStrategy) +org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.LazyBarrierStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy) org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization.MatchAlgorithmStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.FinalizationStrategy) org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.MatchPredicateStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy) org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.optimization.MessagePassingReductionStrategy (implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy) @@ -1154,17 +1154,17 @@ org.apache.tinkerpop.gremlin.util.function.ChainedComparatorS,C (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true; title="class or interface in java.lang">Cloneable, java.util.http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) ChannelInboundHandlerAdapter -org.apache.tinkerpop.gremlin.server.handler.HttpGremlinEndpointHandler +org.apache.tinkerpop.gremlin.server.handler.SaslAuthenticationHandler ChannelInboundHandlerAdapter -org.apache.tinkerpop.gremlin.server.handler.HttpBasicAuthenticationHandler +org.apache.tinkerpop.gremlin.server.handler.HttpGremlinEndpointHandler ChannelInboundHandlerAdapter -org.apache.tinkerpop.gremlin.server.handler.SaslAuthenticationHandler +org.apache.tinkerpop.gremlin.server.handler.HttpBasicAuthenticationHandler ChannelOutboundHandlerAdapter @@ -1226,8 +1226,8 @@ org.apache.tinkerpop.gremlin.algorithm.generator.CopyDistribution (implements org.apache.tinkerpop.gremlin.algorithm.generator.Distribution) org.apache.tinkerpop.gremlin.jsr223.CoreGremlinModule (implements org.apache.tinkerpop.gremlin.jsr223.GremlinModule) org.apache.tinkerpop.gremlin.jsr223.CoreGremlinPlugin (implements org.apache.tinkerpop.gremlin.jsr223.GremlinPlugin) -org.apache.tinkerpop.gremlin.jsr223.CoreImports org.apache.tinkerpop.gremlin.util.CoreImports +org.apache.tinkerpop.gremlin.jsr223.CoreImports org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential.CredentialGraph org.apache.tinkerpop.gremlin.groovy.plugin.dsl.credential.CredentialGraph org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential.CredentialGraphTokens @@ -1676,8 +1676,8 @@ org.apache.tinkerpop.gremlin.driver.ResultSet (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true; title="class or interface in java.lang">IterableT) org.apache.tinkerpop.gremlin.process.traversal.SackFunctions org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.SackStrategy.BuilderA -org.apache.tinkerpop.gremlin.jsr223.ScriptEngineCache org.apache.tinkerpop.gremlin.util.ScriptEngineCache +org.apache.tinkerpop.gremlin.jsr223.ScriptEngineCache org.apache.tinkerpop.gremlin.util.function.ScriptEngineLambda (implements java.util.function.http://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true; title="class or interface in
svn commit: r1783487 [7/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs/
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/class-use/Traverser.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.process.traversal.Traverser (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -159,15 +159,22 @@ default M,E2GraphTraversalS,E2 -GraphTraversal.branch(http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true; title="class or interface in java.util.function">FunctionTraverserE,Mfunction) +GraphTraversal.branch(http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true; title="class or interface in java.util.function">FunctionTraverserE,Mfunction) +Split the Traverser to all the specified functions. + default GraphTraversalS,E -GraphTraversal.emit(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateTraverserEemitPredicate) +GraphTraversal.emit(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateTraverserEemitPredicate) +Emit is used in conjunction with GraphTraversal.repeat(Traversal) to determine what objects get emit from the loop. + default GraphTraversalS,E -GraphTraversal.filter(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateTraverserEpredicate) +GraphTraversal.filter(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateTraverserEpredicate) +Map the Traverser to either true or false, where false will not pass the + traverser to the next step. + default E2GraphTraversalS,E2 @@ -178,16 +185,20 @@ default E2GraphTraversalS,E2 GraphTraversal.map(http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true; title="class or interface in java.util.function">FunctionTraverserE,E2function) -Map a traverser referencing an object of type E to an object of type E2. +Map a Traverser referencing an object of type E to an object of type E2. default GraphTraversalS,E -GraphTraversal.sideEffect(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserEconsumer) +GraphTraversal.sideEffect(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">ConsumerTraverserEconsumer) +Perform some operation on the Traverser and pass it to the next step unmodified. + default GraphTraversalS,E -GraphTraversal.until(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateTraverserEuntilPredicate) +GraphTraversal.until(http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true; title="class or interface in java.util.function">PredicateTraverserEuntilPredicate) +Modifies a GraphTraversal.repeat(Traversal) to determine when the loop should exit. +
svn commit: r1783487 [3/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs/
Modified: tinkerpop/site/docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/index.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/index.html (original) +++ tinkerpop/site/docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/index.html Sat Feb 18 01:43:01 2017 @@ -992,7 +992,6 @@ However, if you find that a larger graph gremlin graph = TinkerGraph.open() ==tinkergraph[vertices:0 edges:0] gremlin graph.io(gryo()).readGraph('data/grateful-dead.kryo') -==null gremlin graph ==tinkergraph[vertices:808 edges:8049] @@ -1219,7 +1218,6 @@ when you want to work with a Trave gremlin t = g.V(1).outE().group().by(label).by(inV());null -==null gremlin t.next() ==created=v[3] ==knows=v[4] @@ -1601,7 +1599,7 @@ you wish to use. To do this, you need to gremlin import java.time.Year -==groovy.grape.Grape, org.apache.commons.configuration.*, org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.*, org.apache.tinkerpop.gremlin.process.computer.bulkloading.*, org.apache.tinkerpop.gremlin.process.computer.traversal.*, org.apache.tinkerpop.gremlin.util.function.*, org.apache.tinkerpop.gremlin.structure.io.*, org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.*, groovy.sql.*, org.apache.tinkerpop.gremlin.groovy.loaders.*, groovy.json.*, org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.*, org.apache.tinkerpop.gremlin.structure.*, org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.*, org.apache.tinkerpop.gremlin.process.traversal.engine.*, org.apache.tinkerpop.gremlin.groovy.jsr223.*, org.apache.tinkerpop.gremlin.structure.io.gryo.*, org.apache.tinkerpop.gremlin.process.remote.*, org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.*, org.apache.tinkerpop.gremlin.process.traversal.step.util.event.*, org.apache.tinkerpop.gremlin.util.*, org.apache.tinkerpop.gremlin.structure.util.*, org.apache.tinkerpop.gremlin.structure.io.graphml.*, org.apache.tinkerpop.gremlin.process.computer.*, org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization.*, org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.optimization.*, org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure.*, org.apache.tinkerpop.gremlin.structure.util.detached.*, org.apache.tinkerpop.gremlin.structure.io.graphson.*, org.apache.tinkerpop.gremlin.process.traversal.*, org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.decoration.*, org.apache.tinkerpop.gremlin.process.computer.bulkdumping.*, org.apache.tinkerpop.gremlin.structure.util.empty.*, org.apache.tinkerpop.gremlin.process.traversal.util.*, org.apache.tinkerpop.gremlin.groovy.function.*, static org.apache.tinkerpop.gremlin.process.traversal.SackFunctions.Barrier.*, static org.apache.tinkerpop.gremlin.util.TimeUtil.*, static org.apache.tinkerpop.gremlin.structure.Direction.*, static org.apache.tinkerpop.gremlin.process.traversal.Pop.*, static org.apache.tinkerpop.gremlin.process.traversal.step.TraversalOptionParent.Pick.*, static org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality.*, static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.*, static org.apache.tinkerpop.gremlin.process.traversal.P.*, static org.apache.tinkerpop.gremlin.process.traversal.Order.*, static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.*, static org.apache.tinkerpop.gremlin.structure.io.IoCore.*, stati c org.apache.tinkerpop.gremlin.process.traversal.Scope.*, static org.apache.tinkerpop.gremlin.structure.Column.*, static org.apache.tinkerpop.gremlin.process.computer.Computer.*, static org.apache.tinkerpop.gremlin.structure.T.*, static org.apache.tinkerpop.gremlin.process.traversal.Operator.*, org.apache.tinkerpop.gremlin.driver.ser.*, org.apache.tinkerpop.gremlin.driver.message.*, org.apache.tinkerpop.gremlin.driver.exception.*, org.apache.tinkerpop.gremlin.driver.remote.*, org.apache.tinkerpop.gremlin.driver.*, static groovyx.gbench.BenchmarkStaticExtension.*, static groovyx.gprof.ProfileStaticExtension.*, groovyx.gprof.*, groovyx.gbench.*, org.apache.tinkerpop.gremlin.groovy.plugin.dsl.credential.CredentialGraph, static org.apache.tinkerpop.gremlin.groovy.plu gin.dsl.credential.CredentialGraph.*, org.apache.tinkerpop.gremlin.giraph.process.computer.*, org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat, org.apache.hadoop.hdfs.*, org.apache.hadoop.mapreduce.lib.input.*, org.apache.tinkerpop.gremlin.hadoop.structure.io.*, org.apache.tinkerpop.gremlin.hadoop.process.computer.mapreduce.*, org.apache.hadoop.conf.*, org.apache.hadoop.util.*, org.apache.tinkerpop.gremlin.hadoop.structure.io.gryo.*,
svn commit: r1783487 [4/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs/
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/index-all.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/index-all.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/index-all.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/index-all.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Index (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -127,7 +127,9 @@ contact to send requests to. addE(String) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Adds an Edge with the specified edge label. + addE(Direction, String, String, Object...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal Deprecated. @@ -238,9 +240,13 @@ Adds a listener that is called back with a status when a commit or rollback is successful. addV(String) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Adds a Vertex. + addV() - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Adds a Vertex with a default vertex label. + addV(Object...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal Deprecated. @@ -274,7 +280,9 @@ adjacentVertexPropertiesCanNotBeReadOrUpdated() - Static method in class org.apache.tinkerpop.gremlin.process.computer.GraphComputer.Exceptions aggregate(String) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Eagerly collects objects up to this step into a side-effect. + aggregate - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols alias(String) - Method in class org.apache.tinkerpop.gremlin.driver.Client @@ -333,7 +341,9 @@ alpha(double) - Method in class org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.PageRankVertexProgram.Builder and(Traversal?, ?...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Ensures that all of the provided traversals yield a result. + and - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols and(Predicate? super V) - Method in class org.apache.tinkerpop.gremlin.process.traversal.P @@ -467,7 +477,9 @@ argumentCanNotBeNull(String) - Static method in class org.apache.tinkerpop.gremlin.structure.Graph.Exceptions as(String, String...) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +A step modulator that provides a lable to the step that can be accessed later in the traversal by other steps. + as - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols asAdmin() - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal @@ -523,11 +535,20 @@ B barrier() - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + barrier(int) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + barrier(ConsumerTraverserSetObject) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + barrier - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols batchSize(long) - Method in class org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLReader.Builder @@ -599,9 +620,13 @@ Get both the outgoing and incoming vertices of this edge. branch(Traversal?, M) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Split the Traverser to all the specified traversals. + branch(FunctionTraverserE, M) - Method in interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal - + +Split the Traverser to all the specified functions. + branch - Static variable in class org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Symbols build() - Static method in class org.apache.tinkerpop.gremlin.driver.Client.SessionSettings @@ -663,25 +688,45 @@ A traverser may represent a grouping of traversers to allow for more efficient data propagation. by() - Method in interface
svn commit: r1783487 [27/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/step/map/SelectTest.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/step/map/SelectTest.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/step/map/SelectTest.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/process/traversal/step/map/SelectTest.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + SelectTest (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -19,7 +19,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6,"i74":6,"i75":6,"i76":6,"i77":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -332,177 +332,193 @@ extends void -g_VX1X_asXhereX_out_selectXhereX() +g_VX1X_asXaX_repeatXout_asXaXX_timesX2X_selectXfirst_aX() void -g_VX1X_outE_asXhereX_inV_hasXname_vadasX_selectXhereX() +g_VX1X_asXaX_repeatXout_asXaXX_timesX2X_selectXlast_aX() void -g_VX1X_outEXknowsX_asXhereX_hasXweight_1X_asXfakeX_inV_hasXname_joshX_selectXhereX() +g_VX1X_asXhereX_out_selectXhereX() void -g_VX1X_outEXknowsX_asXhereX_hasXweight_1X_inV_hasXname_joshX_selectXhereX() +g_VX1X_outE_asXhereX_inV_hasXname_vadasX_selectXhereX() void -g_VX1X_outEXknowsX_hasXweight_1X_asXhereX_inV_hasXname_joshX_selectXhereX() +g_VX1X_outEXknowsX_asXhereX_hasXweight_1X_asXfakeX_inV_hasXname_joshX_selectXhereX() void -g_VX4X_out_asXhereX_hasXlang_javaX_selectXhereX_name() +g_VX1X_outEXknowsX_asXhereX_hasXweight_1X_inV_hasXname_joshX_selectXhereX() void -g_VX4X_out_asXhereX_hasXlang_javaX_selectXhereX() +g_VX1X_outEXknowsX_hasXweight_1X_asXhereX_inV_hasXname_joshX_selectXhereX() +void +g_VX4X_out_asXhereX_hasXlang_javaX_selectXhereX_name() + + +void +g_VX4X_out_asXhereX_hasXlang_javaX_selectXhereX() + + abstract TraversalVertex,http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">Collectionhttp://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String get_g_V_asXa_bX_out_asXcX_path_selectXkeysX() - + abstract TraversalVertex,http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object get_g_V_asXaX_hasXname_markoX_asXbX_asXcX_selectXa_b_cX_by_byXnameX_byXageX() - + abstract TraversalVertex,http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String get_g_V_asXaX_name_order_asXbX_selectXa_bX_byXnameX_by_XitX() - + abstract TraversalVertex,http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in
svn commit: r1783487 [5/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs/
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/Customizer.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/Customizer.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/Customizer.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/Customizer.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.jsr223.Customizer (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -183,14 +183,14 @@ http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCustomizer -DefaultGremlinScriptEngineManager.getCustomizers(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringscriptEngineName) - - -http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCustomizer GremlinScriptEngineManager.getCustomizers(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringscriptEngineName) Get the list of Customizer instances filtered by the scriptEngineName. + +http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCustomizer +DefaultGremlinScriptEngineManager.getCustomizers(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringscriptEngineName) + Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinModule.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinModule.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinModule.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinModule.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.jsr223.GremlinModule (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -122,17 +122,17 @@ void -DefaultGremlinScriptEngineManager.addModule(GremlinModulemodule) +GremlinScriptEngineManager.addModule(GremlinModulemodule) Deprecated. -As of release 3.2.4, replaced by DefaultGremlinScriptEngineManager.addPlugin(GremlinPlugin). +As of release 3.2.4, replaced by GremlinScriptEngineManager.addPlugin(GremlinPlugin). void -GremlinScriptEngineManager.addModule(GremlinModulemodule) +DefaultGremlinScriptEngineManager.addModule(GremlinModulemodule) Deprecated. -As of release 3.2.4, replaced by GremlinScriptEngineManager.addPlugin(GremlinPlugin). +As of release 3.2.4, replaced by DefaultGremlinScriptEngineManager.addPlugin(GremlinPlugin). Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinPlugin.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinPlugin.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinPlugin.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinPlugin.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Interface org.apache.tinkerpop.gremlin.jsr223.GremlinPlugin (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -142,14 +142,14 @@ void -DefaultGremlinScriptEngineManager.addPlugin(GremlinPluginplugin) - - -void GremlinScriptEngineManager.addPlugin(GremlinPluginplugin) Add GremlinPlugin instances to customize newly created GremlinScriptEngine instances. + +void +DefaultGremlinScriptEngineManager.addPlugin(GremlinPluginplugin) + Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngine.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/jsr223/class-use/GremlinScriptEngine.html?rev=1783487=1783486=1783487=diff == ---
svn commit: r1783487 [8/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs/
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + GraphTraversal (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -177,7 +177,9 @@ extends default GraphTraversalS,Edge -addE(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringedgeLabel) +addE(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringedgeLabel) +Adds an Edge with the specified edge label. + default GraphTraversalS,Edge @@ -201,7 +203,9 @@ extends default GraphTraversalS,Vertex -addV() +addV() +Adds a Vertex with a default vertex label. + default GraphTraversalS,Vertex @@ -213,20 +217,28 @@ extends default GraphTraversalS,Vertex -addV(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringvertexLabel) +addV(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringvertexLabel) +Adds a Vertex. + default GraphTraversalS,E -aggregate(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsideEffectKey) +aggregate(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsideEffectKey) +Eagerly collects objects up to this step into a side-effect. + default GraphTraversalS,E -and(Traversal?,?...andTraversals) +and(Traversal?,?...andTraversals) +Ensures that all of the provided traversals yield a result. + default GraphTraversalS,E as(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringstepLabel, - http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...stepLabels) + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String...stepLabels) +A step modulator that provides a lable to the step that can be accessed later in the traversal by other steps. + default GraphTraversal.AdminS,E @@ -236,15 +248,24 @@ extends default GraphTraversalS,E -barrier() +barrier() +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + default GraphTraversalS,E -barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">Consumerorg.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +barrier(http://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true; title="class or interface in java.util.function">Consumerorg.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSethttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">ObjectbarrierConsumer) +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + default GraphTraversalS,E -barrier(intmaxBarrierSize) +barrier(intmaxBarrierSize) +Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + the size of the barrier. + default GraphTraversalS,Vertex @@ -266,93 +287,139 @@ extends default M,E2GraphTraversalS,E2 -branch(http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true; title="class or interface in java.util.function">FunctionTraverserE,Mfunction) +branch(http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true; title="class or interface in java.util.function">FunctionTraverserE,Mfunction) +Split the Traverser to all the specified functions. + default M,E2GraphTraversalS,E2 -branch(Traversal?,MbranchTraversal) +branch(Traversal?,MbranchTraversal) +Split the Traverser to all the specified
svn commit: r1783487 [14/35] - in /tinkerpop/site: docs/3.2.5-SNAPSHOT/dev/provider/ docs/3.2.5-SNAPSHOT/recipes/ docs/3.2.5-SNAPSHOT/reference/ docs/3.2.5-SNAPSHOT/tutorials/the-gremlin-console/ docs
Modified: tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/driver/ser/class-use/SerializationException.html URL: http://svn.apache.org/viewvc/tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/driver/ser/class-use/SerializationException.html?rev=1783487=1783486=1783487=diff == --- tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/driver/ser/class-use/SerializationException.html (original) +++ tinkerpop/site/javadocs/3.2.5-SNAPSHOT/full/org/apache/tinkerpop/gremlin/driver/ser/class-use/SerializationException.html Sat Feb 18 01:43:01 2017 @@ -2,10 +2,10 @@ - + Uses of Class org.apache.tinkerpop.gremlin.driver.ser.SerializationException (Apache TinkerPop 3.2.5-SNAPSHOT API) - + @@ -149,15 +149,15 @@ RequestMessage -AbstractGraphSONMessageSerializerV2d0.deserializeRequest(ByteBufmsg) +AbstractGraphSONMessageSerializerV1d0.deserializeRequest(ByteBufmsg) RequestMessage -AbstractGryoMessageSerializerV1d0.deserializeRequest(ByteBufmsg) +AbstractGraphSONMessageSerializerV2d0.deserializeRequest(ByteBufmsg) RequestMessage -AbstractGraphSONMessageSerializerV1d0.deserializeRequest(ByteBufmsg) +AbstractGryoMessageSerializerV1d0.deserializeRequest(ByteBufmsg) RequestMessage @@ -165,23 +165,23 @@ RequestMessage -MessageTextSerializer.deserializeRequest(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) +GraphSONMessageSerializerV2d0.deserializeRequest(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) RequestMessage -GraphSONMessageSerializerV2d0.deserializeRequest(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) +MessageTextSerializer.deserializeRequest(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) ResponseMessage -AbstractGraphSONMessageSerializerV2d0.deserializeResponse(ByteBufmsg) +AbstractGraphSONMessageSerializerV1d0.deserializeResponse(ByteBufmsg) ResponseMessage -AbstractGryoMessageSerializerV1d0.deserializeResponse(ByteBufmsg) +AbstractGraphSONMessageSerializerV2d0.deserializeResponse(ByteBufmsg) ResponseMessage -AbstractGraphSONMessageSerializerV1d0.deserializeResponse(ByteBufmsg) +AbstractGryoMessageSerializerV1d0.deserializeResponse(ByteBufmsg) ResponseMessage @@ -189,25 +189,25 @@ ResponseMessage -MessageTextSerializer.deserializeResponse(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) +GraphSONMessageSerializerV2d0.deserializeResponse(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) ResponseMessage -GraphSONMessageSerializerV2d0.deserializeResponse(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) +MessageTextSerializer.deserializeResponse(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) ByteBuf -AbstractGraphSONMessageSerializerV2d0.serializeRequestAsBinary(RequestMessagerequestMessage, +AbstractGraphSONMessageSerializerV1d0.serializeRequestAsBinary(RequestMessagerequestMessage, ByteBufAllocatorallocator) ByteBuf -AbstractGryoMessageSerializerV1d0.serializeRequestAsBinary(RequestMessagerequestMessage, +AbstractGraphSONMessageSerializerV2d0.serializeRequestAsBinary(RequestMessagerequestMessage, ByteBufAllocatorallocator) ByteBuf -AbstractGraphSONMessageSerializerV1d0.serializeRequestAsBinary(RequestMessagerequestMessage, +AbstractGryoMessageSerializerV1d0.serializeRequestAsBinary(RequestMessagerequestMessage, ByteBufAllocatorallocator) @@ -216,25 +216,25 @@ http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String -MessageTextSerializer.serializeRequestAsString(RequestMessagerequestMessage) +GraphSONMessageSerializerV2d0.serializeRequestAsString(RequestMessagerequestMessage) http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String -GraphSONMessageSerializerV2d0.serializeRequestAsString(RequestMessagerequestMessage) +MessageTextSerializer.serializeRequestAsString(RequestMessagerequestMessage) ByteBuf -AbstractGraphSONMessageSerializerV2d0.serializeResponseAsBinary(ResponseMessageresponseMessage,
tinkerpop git commit: Added javadoc for all the modulators CTR
Repository: tinkerpop Updated Branches: refs/heads/tp32 c7d666ddb -> 372dfd801 Added javadoc for all the modulators CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/372dfd80 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/372dfd80 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/372dfd80 Branch: refs/heads/tp32 Commit: 372dfd80123c9e987eac8805891561bc45bc840b Parents: c7d666d Author: Stephen MalletteAuthored: Fri Feb 17 16:02:15 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 16:02:15 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 165 +-- 1 file changed, 155 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/372dfd80/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index eaf2cc1..a8624e6 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -2219,26 +2219,58 @@ public interface GraphTraversal extends Traversal{ /// VERTEX PROGRAM STEPS +/** + * Calculates a PageRank over the graph using a 0.85 for the {@code alpha} value. + * + * @return the traversal with the appended {@link PageRankVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#pagerank-step; target="_blank">Reference Documentation - PageRank Step + */ public default GraphTraversalpageRank() { return this.pageRank(0.85d); } +/** + * Calculates a PageRank over the graph. + * + * @return the traversal with the appended {@link PageRankVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#pagerank-step; target="_blank">Reference Documentation - PageRank Step + */ public default GraphTraversalpageRank(final double alpha) { this.asAdmin().getBytecode().addStep(Symbols.pageRank, alpha); return this.asAdmin().addStep((Step) new PageRankVertexProgramStep(this.asAdmin(), alpha)); } +/** + * Executes a Peer Pressure community detection algorithm over the graph. + * + * @return the traversal with the appended {@link PeerPressureVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#peerpressure-step; target="_blank">Reference Documentation - PeerPressure Step + */ public default GraphTraversal peerPressure() { this.asAdmin().getBytecode().addStep(Symbols.peerPressure); return this.asAdmin().addStep((Step) new PeerPressureVertexProgramStep(this.asAdmin())); } +/** + * Executes a Peer Pressure community detection algorithm over the graph. + * + * @return the traversal with the appended {@link PeerPressureVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#peerpressure-step; target="_blank">Reference Documentation - PeerPressure Step + */ public default GraphTraversal program(final VertexProgram vertexProgram) { return this.asAdmin().addStep((Step) new ProgramVertexProgramStep(this.asAdmin(), vertexProgram)); } / UTILITY STEPS / +/** + * A step modulator that provides a lable to the step that can be accessed later in the traversal by other steps. + * + * @param stepLabel the name of the step + * @param stepLabels additional names for the label + * @return the traversal with the modified end step + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#as-step; target="_blank">Reference Documentation - As Step + */ public default GraphTraversal as(final String stepLabel, final String... stepLabels) { this.asAdmin().getBytecode().addStep(Symbols.as, stepLabel, stepLabels); if (this.asAdmin().getSteps().size() == 0) this.asAdmin().addStep(new StartStep<>(this.asAdmin())); @@ -2250,15 +2282,40 @@ public interface GraphTraversalextends Traversal{ return this; } +/** + * Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically
[1/2] tinkerpop git commit: Added javadoc for all the modulators CTR
Repository: tinkerpop Updated Branches: refs/heads/master 9a3818173 -> db6d52178 Added javadoc for all the modulators CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/372dfd80 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/372dfd80 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/372dfd80 Branch: refs/heads/master Commit: 372dfd80123c9e987eac8805891561bc45bc840b Parents: c7d666d Author: Stephen MalletteAuthored: Fri Feb 17 16:02:15 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 16:02:15 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 165 +-- 1 file changed, 155 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/372dfd80/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index eaf2cc1..a8624e6 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -2219,26 +2219,58 @@ public interface GraphTraversal extends Traversal{ /// VERTEX PROGRAM STEPS +/** + * Calculates a PageRank over the graph using a 0.85 for the {@code alpha} value. + * + * @return the traversal with the appended {@link PageRankVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#pagerank-step; target="_blank">Reference Documentation - PageRank Step + */ public default GraphTraversalpageRank() { return this.pageRank(0.85d); } +/** + * Calculates a PageRank over the graph. + * + * @return the traversal with the appended {@link PageRankVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#pagerank-step; target="_blank">Reference Documentation - PageRank Step + */ public default GraphTraversalpageRank(final double alpha) { this.asAdmin().getBytecode().addStep(Symbols.pageRank, alpha); return this.asAdmin().addStep((Step) new PageRankVertexProgramStep(this.asAdmin(), alpha)); } +/** + * Executes a Peer Pressure community detection algorithm over the graph. + * + * @return the traversal with the appended {@link PeerPressureVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#peerpressure-step; target="_blank">Reference Documentation - PeerPressure Step + */ public default GraphTraversal peerPressure() { this.asAdmin().getBytecode().addStep(Symbols.peerPressure); return this.asAdmin().addStep((Step) new PeerPressureVertexProgramStep(this.asAdmin())); } +/** + * Executes a Peer Pressure community detection algorithm over the graph. + * + * @return the traversal with the appended {@link PeerPressureVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#peerpressure-step; target="_blank">Reference Documentation - PeerPressure Step + */ public default GraphTraversal program(final VertexProgram vertexProgram) { return this.asAdmin().addStep((Step) new ProgramVertexProgramStep(this.asAdmin(), vertexProgram)); } / UTILITY STEPS / +/** + * A step modulator that provides a lable to the step that can be accessed later in the traversal by other steps. + * + * @param stepLabel the name of the step + * @param stepLabels additional names for the label + * @return the traversal with the modified end step + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#as-step; target="_blank">Reference Documentation - As Step + */ public default GraphTraversal as(final String stepLabel, final String... stepLabels) { this.asAdmin().getBytecode().addStep(Symbols.as, stepLabel, stepLabels); if (this.asAdmin().getSteps().size() == 0) this.asAdmin().addStep(new StartStep<>(this.asAdmin())); @@ -2250,15 +2282,40 @@ public interface GraphTraversalextends Traversal{ return this; } +/** + * Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically
[2/2] tinkerpop git commit: Merge branch 'tp32'
Merge branch 'tp32' Conflicts: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/db6d5217 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/db6d5217 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/db6d5217 Branch: refs/heads/master Commit: db6d5217873f1ce4e2eda0e4f6ef63343d02fbc3 Parents: 9a38181 372dfd8 Author: Stephen MalletteAuthored: Fri Feb 17 16:04:51 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 16:04:51 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 165 +-- 1 file changed, 155 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/db6d5217/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --cc gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 346eac0,a8624e6..7d0432d --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@@ -2255,11 -2219,22 +2255,23 @@@ public interface GraphTraversal e /// VERTEX PROGRAM STEPS + /** + * Calculates a PageRank over the graph using a 0.85 for the {@code alpha} value. + * + * @return the traversal with the appended {@link PageRankVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#pagerank-step; target="_blank">Reference Documentation - PageRank Step + */ public default GraphTraversalpageRank() { -return this.pageRank(0.85d); +this.asAdmin().getBytecode().addStep(Symbols.pageRank); +return this.asAdmin().addStep((Step) new PageRankVertexProgramStep(this.asAdmin(), 0.85d)); } + /** + * Calculates a PageRank over the graph. + * + * @return the traversal with the appended {@link PageRankVertexProgramStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#pagerank-step; target="_blank">Reference Documentation - PageRank Step + */ public default GraphTraversal pageRank(final double alpha) { this.asAdmin().getBytecode().addStep(Symbols.pageRank, alpha); return this.asAdmin().addStep((Step) new PageRankVertexProgramStep(this.asAdmin(), alpha)); @@@ -2287,11 -2282,26 +2319,27 @@@ return this; } + /** + * Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + * the size of the barrier. In this case, it iterates the entire thing as the default barrier size is set to + * {@code Integer.MAX_VALUE}. + * + * @return the traversal with an appended {@link NoOpBarrierStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#barrier-step; target="_blank">Reference Documentation - Barrier Step + */ public default GraphTraversal barrier() { -return this.barrier(Integer.MAX_VALUE); +this.asAdmin().getBytecode().addStep(Symbols.barrier); +return this.asAdmin().addStep(new NoOpBarrierStep<>(this.asAdmin(), Integer.MAX_VALUE)); } + /** + * Turns the lazy traversal pipeline into a bulk-synchronous pipeline which basically iterates that traversal to + * the size of the barrier. + * + * @param maxBarrierSize the size of the barrier + * @return the traversal with an appended {@link NoOpBarrierStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#barrier-step; target="_blank">Reference Documentation - Barrier Step + */ public default GraphTraversalbarrier(final int maxBarrierSize) { this.asAdmin().getBytecode().addStep(Symbols.barrier, maxBarrierSize); return this.asAdmin().addStep(new NoOpBarrierStep<>(this.asAdmin(), maxBarrierSize)); @@@ -2379,16 -2470,28 +2508,29 @@@ + /** + * This step modifies {@link #choose(Function)} to specifies the available choices that might be executed. + * + * @param pickToken the token that would trigger this option + * @param traversalOption the option as a traversal + * @return the traversal with the modulated step + */ -public defaultGraphTraversal option(final M pickToken, final TraversaltraversalOption) { +
[3/4] tinkerpop git commit: Added javadoc for all branch steps CTR
Added javadoc for all branch steps CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/c7d666dd Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c7d666dd Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c7d666dd Branch: refs/heads/master Commit: c7d666ddb7930a1fd09ba521c985bc1462399765 Parents: be65b29 Author: Stephen MalletteAuthored: Fri Feb 17 15:31:40 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 15:31:40 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 76 1 file changed, 76 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c7d666dd/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 75c8e38..eaf2cc1 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -2082,51 +2082,120 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new ChooseStep(this.asAdmin(), (Traversal.Admin ) __.filter(new PredicateTraverser<>(choosePredicate)), (Traversal.Admin ) trueChoice, (Traversal.Admin ) __.identity())); } +/** + * Returns the result of the specified traversal if it yields a result, otherwise it returns the calling element. + * + * @param optionalTraversal the traversal to execute for a potential result + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#optional-step; target="_blank">Reference Documentation - Optional Step + */ public default GraphTraversal optional(final Traversal optionalTraversal) { this.asAdmin().getBytecode().addStep(Symbols.optional, optionalTraversal); return this.asAdmin().addStep(new ChooseStep<>(this.asAdmin(), (Traversal.Admin) optionalTraversal, (Traversal.Admin ) optionalTraversal.asAdmin().clone(), (Traversal.Admin ) __.identity())); } +/** + * Merges the results of an arbitrary number of traversals. + * + * @param unionTraversals the traversals to merge + * @return the traversal with the appended {@link UnionStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#union-step; target="_blank">Reference Documentation - Union Step + */ public default GraphTraversal union(final Traversal... unionTraversals) { this.asAdmin().getBytecode().addStep(Symbols.union, unionTraversals); return this.asAdmin().addStep(new UnionStep(this.asAdmin(), Arrays.copyOf(unionTraversals, unionTraversals.length, Traversal.Admin[].class))); } +/** + * Evaluates the provided traversals and returns the result of the first traversal to emit at least one object. + * + * @param coalesceTraversals the traversals to coalesce + * @return the traversal with the appended {@link CoalesceStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#coalesce-step; target="_blank">Reference Documentation - Coalesce Step + */ public default GraphTraversalcoalesce(final Traversal... coalesceTraversals) { this.asAdmin().getBytecode().addStep(Symbols.coalesce, coalesceTraversals); return this.asAdmin().addStep(new CoalesceStep(this.asAdmin(), Arrays.copyOf(coalesceTraversals, coalesceTraversals.length, Traversal.Admin[].class))); } +/** + * This step is used for looping over a some traversal given some break predicate. + * + * @param repeatTraversal the traversal to repeat over + * @return the traversal with the appended {@link RepeatStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#repeat-step; target="_blank">Reference Documentation - Repeat Step + */ public default GraphTraversalrepeat(final Traversal repeatTraversal) { this.asAdmin().getBytecode().addStep(Symbols.repeat, repeatTraversal); return RepeatStep.addRepeatToTraversal(this, (Traversal.Admin) repeatTraversal); } +/** + * Emit is used in conjunction with {@link #repeat(Traversal)} to determine what objects get emit from the loop. +
[2/4] tinkerpop git commit: Added javadoc for choose CTR
Added javadoc for choose CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/be65b293 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/be65b293 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/be65b293 Branch: refs/heads/master Commit: be65b293285d755103da2d54b506ef872db7a434 Parents: dd85c73 Author: Stephen MalletteAuthored: Fri Feb 17 15:12:53 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 15:12:53 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 56 1 file changed, 56 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/be65b293/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index e324919..75c8e38 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1992,34 +1992,90 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(branchStep); } +/** + * Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + * like semantics within a traversal. A {@code choose} is modified by {@link #option} which provides the various + * branch choices. + * + * @param choiceTraversal the traversal used to determine the value for the branch + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#choose-step; target="_blank">Reference Documentation - Choose Step + */ public defaultGraphTraversal choose(final Traversal choiceTraversal) { this.asAdmin().getBytecode().addStep(Symbols.choose, choiceTraversal); return this.asAdmin().addStep(new ChooseStep<>(this.asAdmin(), (Traversal.Admin) choiceTraversal)); } +/** + * Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + * like semantics within a traversal. + * + * @param traversalPredicate the traversal used to determine the "if" portion of the if-then-else + * @param trueChoice the traversal to execute in the event the {@code traversalPredicate} returns true + * @param falseChoice the traversal to execute in the event the {@code traversalPredicate} returns false + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#choose-step; target="_blank">Reference Documentation - Choose Step + */ public default GraphTraversal choose(final Traversal traversalPredicate, final Traversal trueChoice, final Traversal falseChoice) { this.asAdmin().getBytecode().addStep(Symbols.choose, traversalPredicate, trueChoice, falseChoice); return this.asAdmin().addStep(new ChooseStep(this.asAdmin(), (Traversal.Admin ) traversalPredicate, (Traversal.Admin ) trueChoice, (Traversal.Admin ) falseChoice)); } +/** + * Routes the current traverser to a particular traversal branch option which allows the creation of if-then + * like semantics within a traversal. + * + * @param traversalPredicate the traversal used to determine the "if" portion of the if-then-else + * @param trueChoice the traversal to execute in the event the {@code traversalPredicate} returns true + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#choose-step; target="_blank">Reference Documentation - Choose Step + */ public default GraphTraversal choose(final Traversal traversalPredicate, final Traversal trueChoice) { this.asAdmin().getBytecode().addStep(Symbols.choose, traversalPredicate, trueChoice); return this.asAdmin().addStep(new ChooseStep(this.asAdmin(), (Traversal.Admin ) traversalPredicate, (Traversal.Admin ) trueChoice, (Traversal.Admin ) __.identity())); } +/** + * Routes the current traverser to a particular
[2/3] tinkerpop git commit: Added javadoc for choose CTR
Added javadoc for choose CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/be65b293 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/be65b293 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/be65b293 Branch: refs/heads/tp32 Commit: be65b293285d755103da2d54b506ef872db7a434 Parents: dd85c73 Author: Stephen MalletteAuthored: Fri Feb 17 15:12:53 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 15:12:53 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 56 1 file changed, 56 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/be65b293/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index e324919..75c8e38 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1992,34 +1992,90 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(branchStep); } +/** + * Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + * like semantics within a traversal. A {@code choose} is modified by {@link #option} which provides the various + * branch choices. + * + * @param choiceTraversal the traversal used to determine the value for the branch + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#choose-step; target="_blank">Reference Documentation - Choose Step + */ public defaultGraphTraversal choose(final Traversal choiceTraversal) { this.asAdmin().getBytecode().addStep(Symbols.choose, choiceTraversal); return this.asAdmin().addStep(new ChooseStep<>(this.asAdmin(), (Traversal.Admin) choiceTraversal)); } +/** + * Routes the current traverser to a particular traversal branch option which allows the creation of if-then-else + * like semantics within a traversal. + * + * @param traversalPredicate the traversal used to determine the "if" portion of the if-then-else + * @param trueChoice the traversal to execute in the event the {@code traversalPredicate} returns true + * @param falseChoice the traversal to execute in the event the {@code traversalPredicate} returns false + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#choose-step; target="_blank">Reference Documentation - Choose Step + */ public default GraphTraversal choose(final Traversal traversalPredicate, final Traversal trueChoice, final Traversal falseChoice) { this.asAdmin().getBytecode().addStep(Symbols.choose, traversalPredicate, trueChoice, falseChoice); return this.asAdmin().addStep(new ChooseStep(this.asAdmin(), (Traversal.Admin ) traversalPredicate, (Traversal.Admin ) trueChoice, (Traversal.Admin ) falseChoice)); } +/** + * Routes the current traverser to a particular traversal branch option which allows the creation of if-then + * like semantics within a traversal. + * + * @param traversalPredicate the traversal used to determine the "if" portion of the if-then-else + * @param trueChoice the traversal to execute in the event the {@code traversalPredicate} returns true + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#choose-step; target="_blank">Reference Documentation - Choose Step + */ public default GraphTraversal choose(final Traversal traversalPredicate, final Traversal trueChoice) { this.asAdmin().getBytecode().addStep(Symbols.choose, traversalPredicate, trueChoice); return this.asAdmin().addStep(new ChooseStep(this.asAdmin(), (Traversal.Admin ) traversalPredicate, (Traversal.Admin ) trueChoice, (Traversal.Admin ) __.identity())); } +/** + * Routes the current traverser to a particular
[4/4] tinkerpop git commit: Merge branch 'tp32'
Merge branch 'tp32' Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/9a381817 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/9a381817 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/9a381817 Branch: refs/heads/master Commit: 9a3818173b33c76a49f5cab1489420c4abb50de3 Parents: cfa93a1 c7d666d Author: Stephen MalletteAuthored: Fri Feb 17 15:32:03 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 15:32:03 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 208 +++ 1 file changed, 208 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9a381817/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --cc gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 06f8070,eaf2cc1..346eac0 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@@ -1986,21 -2082,49 +2118,49 @@@ public interface GraphTraversal e return this.asAdmin().addStep(new ChooseStep(this.asAdmin(), (Traversal.Admin ) __.filter(new PredicateTraverser<>(choosePredicate)), (Traversal.Admin ) trueChoice, (Traversal.Admin ) __.identity())); } + /** + * Returns the result of the specified traversal if it yields a result, otherwise it returns the calling element. + * + * @param optionalTraversal the traversal to execute for a potential result + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#optional-step; target="_blank">Reference Documentation - Optional Step + */ public default GraphTraversal optional(final Traversal optionalTraversal) { this.asAdmin().getBytecode().addStep(Symbols.optional, optionalTraversal); -return this.asAdmin().addStep(new ChooseStep<>(this.asAdmin(), (Traversal.Admin) optionalTraversal, (Traversal.Admin ) optionalTraversal.asAdmin().clone(), (Traversal.Admin ) __.identity())); +return this.asAdmin().addStep(new OptionalStep<>(this.asAdmin(), (Traversal.Admin ) optionalTraversal)); } + /** + * Merges the results of an arbitrary number of traversals. + * + * @param unionTraversals the traversals to merge + * @return the traversal with the appended {@link UnionStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#union-step; target="_blank">Reference Documentation - Union Step + */ public default GraphTraversal union(final Traversal... unionTraversals) { this.asAdmin().getBytecode().addStep(Symbols.union, unionTraversals); -return this.asAdmin().addStep(new UnionStep(this.asAdmin(), Arrays.copyOf(unionTraversals, unionTraversals.length, Traversal.Admin[].class))); +return this.asAdmin().addStep(new UnionStep<>(this.asAdmin(), Arrays.copyOf(unionTraversals, unionTraversals.length, Traversal.Admin[].class))); } + /** + * Evaluates the provided traversals and returns the result of the first traversal to emit at least one object. + * + * @param coalesceTraversals the traversals to coalesce + * @return the traversal with the appended {@link CoalesceStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#coalesce-step; target="_blank">Reference Documentation - Coalesce Step + */ public default GraphTraversalcoalesce(final Traversal... coalesceTraversals) { this.asAdmin().getBytecode().addStep(Symbols.coalesce, coalesceTraversals); -return this.asAdmin().addStep(new CoalesceStep(this.asAdmin(), Arrays.copyOf(coalesceTraversals, coalesceTraversals.length, Traversal.Admin[].class))); +return this.asAdmin().addStep(new CoalesceStep<>(this.asAdmin(), Arrays.copyOf(coalesceTraversals, coalesceTraversals.length, Traversal.Admin[].class))); } + /** + * This step is used for looping over a some traversal given some break predicate. + * + * @param repeatTraversal the traversal to repeat over + * @return the traversal with the appended {@link RepeatStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#repeat-step; target="_blank">Reference Documentation - Repeat Step + */ public default GraphTraversal
[1/4] tinkerpop git commit: Added javadoc for all side-effect steps CTR
Repository: tinkerpop Updated Branches: refs/heads/master cfa93a11b -> 9a3818173 Added javadoc for all side-effect steps CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/dd85c733 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/dd85c733 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/dd85c733 Branch: refs/heads/master Commit: dd85c73301e06dfad329534c4d8b38a5ee7f7d2b Parents: c78d31b Author: Stephen MalletteAuthored: Fri Feb 17 14:55:22 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 14:55:22 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 76 1 file changed, 76 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/dd85c733/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 288e695..e324919 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1761,21 +1761,53 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new TraversalSideEffectStep<>(this.asAdmin(), (Traversal) sideEffectTraversal)); } +/** + * Iterates the traversal up to the itself and emits the side-effect referenced by the key. If multiple keys are + * supplied then the side-effects are emitted as a {@code Map}. + * + * @param sideEffectKey the side-effect to emit + * @param sideEffectKeys other side-effects to emit + * @return the traversal with an appended {@link SideEffectCapStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#cap-step; target="_blank">Reference Documentation - Cap Step + */ public default GraphTraversalcap(final String sideEffectKey, final String... sideEffectKeys) { this.asAdmin().getBytecode().addStep(Symbols.cap, sideEffectKey, sideEffectKeys); return this.asAdmin().addStep(new SideEffectCapStep<>(this.asAdmin(), sideEffectKey, sideEffectKeys)); } +/** + * Extracts a portion of the graph being traversed into a {@link Graph} object held in the specified side-effect + * key. + * + * @param sideEffectKey the name of the side-effect key that will hold the subgraph + * @return the traversal with an appended {@link SubgraphStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#subgraph-step; target="_blank">Reference Documentation - Subgraph Step + */ public default GraphTraversalsubgraph(final String sideEffectKey) { this.asAdmin().getBytecode().addStep(Symbols.subgraph, sideEffectKey); return this.asAdmin().addStep(new SubgraphStep(this.asAdmin(), sideEffectKey)); } +/** + * Eagerly collects objects up to this step into a side-effect. + * + * @param sideEffectKey the name of the side-effect key that will hold the aggregated objects + * @return the traversal with an appended {@link AggregateStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#aggregate-step; target="_blank">Reference Documentation - Aggregate Step + */ public default GraphTraversalaggregate(final String sideEffectKey) { this.asAdmin().getBytecode().addStep(Symbols.aggregate, sideEffectKey); return this.asAdmin().addStep(new AggregateStep<>(this.asAdmin(), sideEffectKey)); } +/** + * Organize objects in the stream into a {@code Map}. Calls to {@code group()} are typically accompanied with + * {@link #by()} modulators which help specify how the grouping should occur. + * + * @param sideEffectKey the name of the side-effect key that will hold the aggregated grouping + * @return the traversal with an appended {@link GroupStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#group-step; target="_blank">Reference Documentation - Group Step + */ public default GraphTraversalgroup(final String sideEffectKey) { this.asAdmin().getBytecode().addStep(Symbols.group, sideEffectKey); return this.asAdmin().addStep(new GroupSideEffectStep<>(this.asAdmin(), sideEffectKey)); @@ -1789,16 +1821,38 @@ public interface GraphTraversalextends
[3/3] tinkerpop git commit: Added javadoc for all branch steps CTR
Added javadoc for all branch steps CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/c7d666dd Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c7d666dd Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c7d666dd Branch: refs/heads/tp32 Commit: c7d666ddb7930a1fd09ba521c985bc1462399765 Parents: be65b29 Author: Stephen MalletteAuthored: Fri Feb 17 15:31:40 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 15:31:40 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 76 1 file changed, 76 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c7d666dd/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 75c8e38..eaf2cc1 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -2082,51 +2082,120 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new ChooseStep(this.asAdmin(), (Traversal.Admin ) __.filter(new PredicateTraverser<>(choosePredicate)), (Traversal.Admin ) trueChoice, (Traversal.Admin ) __.identity())); } +/** + * Returns the result of the specified traversal if it yields a result, otherwise it returns the calling element. + * + * @param optionalTraversal the traversal to execute for a potential result + * @return the traversal with the appended {@link ChooseStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#optional-step; target="_blank">Reference Documentation - Optional Step + */ public default GraphTraversal optional(final Traversal optionalTraversal) { this.asAdmin().getBytecode().addStep(Symbols.optional, optionalTraversal); return this.asAdmin().addStep(new ChooseStep<>(this.asAdmin(), (Traversal.Admin) optionalTraversal, (Traversal.Admin ) optionalTraversal.asAdmin().clone(), (Traversal.Admin ) __.identity())); } +/** + * Merges the results of an arbitrary number of traversals. + * + * @param unionTraversals the traversals to merge + * @return the traversal with the appended {@link UnionStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#union-step; target="_blank">Reference Documentation - Union Step + */ public default GraphTraversal union(final Traversal... unionTraversals) { this.asAdmin().getBytecode().addStep(Symbols.union, unionTraversals); return this.asAdmin().addStep(new UnionStep(this.asAdmin(), Arrays.copyOf(unionTraversals, unionTraversals.length, Traversal.Admin[].class))); } +/** + * Evaluates the provided traversals and returns the result of the first traversal to emit at least one object. + * + * @param coalesceTraversals the traversals to coalesce + * @return the traversal with the appended {@link CoalesceStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#coalesce-step; target="_blank">Reference Documentation - Coalesce Step + */ public default GraphTraversalcoalesce(final Traversal... coalesceTraversals) { this.asAdmin().getBytecode().addStep(Symbols.coalesce, coalesceTraversals); return this.asAdmin().addStep(new CoalesceStep(this.asAdmin(), Arrays.copyOf(coalesceTraversals, coalesceTraversals.length, Traversal.Admin[].class))); } +/** + * This step is used for looping over a some traversal given some break predicate. + * + * @param repeatTraversal the traversal to repeat over + * @return the traversal with the appended {@link RepeatStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#repeat-step; target="_blank">Reference Documentation - Repeat Step + */ public default GraphTraversalrepeat(final Traversal repeatTraversal) { this.asAdmin().getBytecode().addStep(Symbols.repeat, repeatTraversal); return RepeatStep.addRepeatToTraversal(this, (Traversal.Admin) repeatTraversal); } +/** + * Emit is used in conjunction with {@link #repeat(Traversal)} to determine what objects get emit from the loop. + *
[3/6] tinkerpop git commit: Cleanup intellij complaints about use of the javadoc see tag CTR
Cleanup intellij complaints about use of the javadoc see tag CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a42e080b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a42e080b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a42e080b Branch: refs/heads/master Commit: a42e080bdc46e0c1326613fd2c4c39a671b65e96 Parents: fc54b72 Author: Stephen MalletteAuthored: Fri Feb 17 13:17:01 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 13:17:01 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 206 +-- 1 file changed, 103 insertions(+), 103 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a42e080b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 0935f7a..3c750aa 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -192,7 +192,7 @@ public interface GraphTraversal extends Traversal{ * * @param function the lambda expression that does the functional mapping * @return the traversal with an appended {@link LambdaMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalmap(final Functionfunction) { this.asAdmin().getBytecode().addStep(Symbols.map, function); @@ -204,7 +204,7 @@ public interface GraphTraversal extends Traversal{ * * @param mapTraversal the traversal expression that does the functional mapping * @return the traversal with an appended {@link LambdaMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalmap(final Traversal mapTraversal) { this.asAdmin().getBytecode().addStep(Symbols.map, mapTraversal); @@ -218,7 +218,7 @@ public interface GraphTraversalextends Traversal{ * @param function the lambda expression that does the functional mapping * @param the type of the returned iterator objects * @return the traversal with an appended {@link LambdaFlatMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalflatMap(final Functionfunction) { this.asAdmin().getBytecode().addStep(Symbols.flatMap, function); @@ -232,7 +232,7 @@ public interface GraphTraversal extends Traversal{ * @param flatMapTraversal the traversal generating objects of type E2 * @param the end type of the internal traversal * @return the traversal with an appended {@link TraversalFlatMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalflatMap(final Traversal flatMapTraversal) { this.asAdmin().getBytecode().addStep(Symbols.flatMap, flatMapTraversal); @@ -243,7 +243,7 @@ public interface GraphTraversalextends Traversal{ * Map the {@link Element} to its {@link Element#id}. * * @return the traversal with an appended {@link IdStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#id-step;>Reference Documentation - Id Step + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#id-step; target="_blank">Reference Documentation - Id Step */
[4/6] tinkerpop git commit: Add javadoc for tail/limit CTR
Add javadoc for tail/limit CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/f0f3003c Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/f0f3003c Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/f0f3003c Branch: refs/heads/master Commit: f0f3003c1da889c88dc655dbf74edff8023cccbf Parents: a42e080 Author: Stephen MalletteAuthored: Fri Feb 17 13:43:56 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 13:43:56 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 70 1 file changed, 70 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f0f3003c/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 3c750aa..77bccae 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1537,17 +1537,38 @@ public interface GraphTraversal extends Traversal{ * * @param probability the probability that the object will pass through * @return the traversal with an appended {@link CoinStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#coin-step; target="_blank">Reference Documentation - Coin Step */ public default GraphTraversalcoin(final double probability) { this.asAdmin().getBytecode().addStep(Symbols.coin, probability); return this.asAdmin().addStep(new CoinStep<>(this.asAdmin(), probability)); } +/** + * Filter the objects in the traversal by the number of them to pass through the stream. Those before the value + * of {@code low} do not pass through and those that exceed the value of {@code high} will end the iteration. + * + * @param low the number at which to start allowing objects through the stream + * @param high the number at which to end the stream + * @return the traversal with an appended {@link RangeGlobalStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#range-step; target="_blank">Reference Documentation - Range Step + */ public default GraphTraversalrange(final long low, final long high) { this.asAdmin().getBytecode().addStep(Symbols.range, low, high); return this.asAdmin().addStep(new RangeGlobalStep<>(this.asAdmin(), low, high)); } +/** + * Filter the objects in the traversal by the number of them to pass through the stream as constrained by the + * {@link Scope}. Those before the value of {@code low} do not pass through and those that exceed the value of + * {@code high} will end the iteration. + * + * @param scope the scope of how to apply the {@code range} + * @param low the number at which to start allowing objects through the stream + * @param high the number at which to end the stream + * @return the traversal with an appended {@link RangeGlobalStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#range-step; target="_blank">Reference Documentation - Range Step + */ public default GraphTraversalrange(final Scope scope, final long low, final long high) { this.asAdmin().getBytecode().addStep(Symbols.range, scope, low, high); return this.asAdmin().addStep(scope.equals(Scope.global) @@ -1555,11 +1576,28 @@ public interface GraphTraversalextends Traversal{ : new RangeLocalStep<>(this.asAdmin(), low, high)); } +/** + * Filter the objects in the traversal by the number of them to pass through the stream, where only the first + * {@code n} objects are allowed as defined by the {@code limit} argument. + * + * @param limit the number at which to end the stream + * @return the traversal with an appended {@link RangeGlobalStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#limit-step; target="_blank">Reference Documentation - Limit Step + */ public default GraphTraversallimit(final long limit) { this.asAdmin().getBytecode().addStep(Symbols.limit, limit); return this.asAdmin().addStep(new RangeGlobalStep<>(this.asAdmin(), 0, limit)); } +/** + * Filter the objects in the traversal by the number of them
[2/5] tinkerpop git commit: Added javadoc for not/is and fixed mispellings CTR
Added javadoc for not/is and fixed mispellings CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/fc54b72f Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/fc54b72f Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/fc54b72f Branch: refs/heads/tp32 Commit: fc54b72f57459886baf843e808564788873b4062 Parents: af1fc40 Author: Stephen MalletteAuthored: Fri Feb 17 13:13:20 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 13:13:20 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 53 +--- 1 file changed, 34 insertions(+), 19 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/fc54b72f/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 1620e8b..0935f7a 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1209,7 +1209,7 @@ public interface GraphTraversal extends Traversal{ * * @param propertyKey the key of the property to filter on * @param predicate the filter to apply to the key's value - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final String propertyKey, final P predicate) { @@ -1222,7 +1222,7 @@ public interface GraphTraversalextends Traversal{ * * @param accessor the {@link T} accessor of the property to filter on * @param predicate the filter to apply to the key's value - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final T accessor, final P predicate) { @@ -1235,7 +1235,7 @@ public interface GraphTraversalextends Traversal{ * * @param propertyKey the key of the property to filter on * @param value the value to compare the property value to for equality - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final String propertyKey, final Object value) { @@ -1254,7 +1254,7 @@ public interface GraphTraversalextends Traversal{ * * @param accessor the {@link T} accessor of the property to filter on * @param value the value to compare the accessor value to for equality - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final T accessor, final Object value) { @@ -1274,7 +1274,7 @@ public interface GraphTraversalextends Traversal{ * @param label the label of the {@link Element} * @param propertyKey the key of the property to filter on * @param predicate the filter to apply to the key's value - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final String label, final String propertyKey, final P predicate) { @@ -1289,7 +1289,7 @@ public interface GraphTraversalextends Traversal{ * @param label the label of the {@link Element} * @param propertyKey the key of the property to filter on * @param value the value to compare the accessor value to for equality - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see
[3/5] tinkerpop git commit: Cleanup intellij complaints about use of the javadoc see tag CTR
Cleanup intellij complaints about use of the javadoc see tag CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a42e080b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a42e080b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a42e080b Branch: refs/heads/tp32 Commit: a42e080bdc46e0c1326613fd2c4c39a671b65e96 Parents: fc54b72 Author: Stephen MalletteAuthored: Fri Feb 17 13:17:01 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 13:17:01 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 206 +-- 1 file changed, 103 insertions(+), 103 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a42e080b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 0935f7a..3c750aa 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -192,7 +192,7 @@ public interface GraphTraversal extends Traversal{ * * @param function the lambda expression that does the functional mapping * @return the traversal with an appended {@link LambdaMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalmap(final Functionfunction) { this.asAdmin().getBytecode().addStep(Symbols.map, function); @@ -204,7 +204,7 @@ public interface GraphTraversal extends Traversal{ * * @param mapTraversal the traversal expression that does the functional mapping * @return the traversal with an appended {@link LambdaMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalmap(final Traversal mapTraversal) { this.asAdmin().getBytecode().addStep(Symbols.map, mapTraversal); @@ -218,7 +218,7 @@ public interface GraphTraversalextends Traversal{ * @param function the lambda expression that does the functional mapping * @param the type of the returned iterator objects * @return the traversal with an appended {@link LambdaFlatMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalflatMap(final Functionfunction) { this.asAdmin().getBytecode().addStep(Symbols.flatMap, function); @@ -232,7 +232,7 @@ public interface GraphTraversal extends Traversal{ * @param flatMapTraversal the traversal generating objects of type E2 * @param the end type of the internal traversal * @return the traversal with an appended {@link TraversalFlatMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps; target="_blank">Reference Documentation - General Steps */ public default GraphTraversalflatMap(final Traversal flatMapTraversal) { this.asAdmin().getBytecode().addStep(Symbols.flatMap, flatMapTraversal); @@ -243,7 +243,7 @@ public interface GraphTraversalextends Traversal{ * Map the {@link Element} to its {@link Element#id}. * * @return the traversal with an appended {@link IdStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#id-step;>Reference Documentation - Id Step + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#id-step; target="_blank">Reference Documentation - Id Step */
[4/5] tinkerpop git commit: Add javadoc for tail/limit CTR
Add javadoc for tail/limit CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/f0f3003c Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/f0f3003c Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/f0f3003c Branch: refs/heads/tp32 Commit: f0f3003c1da889c88dc655dbf74edff8023cccbf Parents: a42e080 Author: Stephen MalletteAuthored: Fri Feb 17 13:43:56 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 13:43:56 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 70 1 file changed, 70 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f0f3003c/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 3c750aa..77bccae 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1537,17 +1537,38 @@ public interface GraphTraversal extends Traversal{ * * @param probability the probability that the object will pass through * @return the traversal with an appended {@link CoinStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#coin-step; target="_blank">Reference Documentation - Coin Step */ public default GraphTraversalcoin(final double probability) { this.asAdmin().getBytecode().addStep(Symbols.coin, probability); return this.asAdmin().addStep(new CoinStep<>(this.asAdmin(), probability)); } +/** + * Filter the objects in the traversal by the number of them to pass through the stream. Those before the value + * of {@code low} do not pass through and those that exceed the value of {@code high} will end the iteration. + * + * @param low the number at which to start allowing objects through the stream + * @param high the number at which to end the stream + * @return the traversal with an appended {@link RangeGlobalStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#range-step; target="_blank">Reference Documentation - Range Step + */ public default GraphTraversalrange(final long low, final long high) { this.asAdmin().getBytecode().addStep(Symbols.range, low, high); return this.asAdmin().addStep(new RangeGlobalStep<>(this.asAdmin(), low, high)); } +/** + * Filter the objects in the traversal by the number of them to pass through the stream as constrained by the + * {@link Scope}. Those before the value of {@code low} do not pass through and those that exceed the value of + * {@code high} will end the iteration. + * + * @param scope the scope of how to apply the {@code range} + * @param low the number at which to start allowing objects through the stream + * @param high the number at which to end the stream + * @return the traversal with an appended {@link RangeGlobalStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#range-step; target="_blank">Reference Documentation - Range Step + */ public default GraphTraversalrange(final Scope scope, final long low, final long high) { this.asAdmin().getBytecode().addStep(Symbols.range, scope, low, high); return this.asAdmin().addStep(scope.equals(Scope.global) @@ -1555,11 +1576,28 @@ public interface GraphTraversalextends Traversal{ : new RangeLocalStep<>(this.asAdmin(), low, high)); } +/** + * Filter the objects in the traversal by the number of them to pass through the stream, where only the first + * {@code n} objects are allowed as defined by the {@code limit} argument. + * + * @param limit the number at which to end the stream + * @return the traversal with an appended {@link RangeGlobalStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#limit-step; target="_blank">Reference Documentation - Limit Step + */ public default GraphTraversallimit(final long limit) { this.asAdmin().getBytecode().addStep(Symbols.limit, limit); return this.asAdmin().addStep(new RangeGlobalStep<>(this.asAdmin(), 0, limit)); } +/** + * Filter the objects in the traversal by the number of them
[6/6] tinkerpop git commit: Merge branch 'tp32'
Merge branch 'tp32' Conflicts: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/cfa93a11 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/cfa93a11 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/cfa93a11 Branch: refs/heads/master Commit: cfa93a11b104edcd1cb0cdf97bfe30353ca5e007 Parents: 73a36da c78d31b Author: Stephen MalletteAuthored: Fri Feb 17 14:26:15 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 14:26:15 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 440 ++- 1 file changed, 342 insertions(+), 98 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/cfa93a11/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --cc gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 8e8309a,288e695..06f8070 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@@ -535,9 -535,9 +536,9 @@@ public interface GraphTraversal e * @param propertyKeys the properties to retrieve * @param the value type of the returned properties * @return the traversal with an appended {@link PropertyMapStep}. - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#valuemap-step;>Reference Documentation - ValueMap Step + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#valuemap-step; target="_blank">Reference Documentation - ValueMap Step */ -public default GraphTraversal> valueMap(final boolean includeTokens, final String... propertyKeys) { +public default GraphTraversal> valueMap(final boolean includeTokens, final String... propertyKeys) { this.asAdmin().getBytecode().addStep(Symbols.valueMap, includeTokens, propertyKeys); return this.asAdmin().addStep(new PropertyMapStep<>(this.asAdmin(), includeTokens, PropertyType.VALUE, propertyKeys)); } @@@ -1285,16 -1328,38 +1352,38 @@@ new PropertiesStep(propertyTraversal.asAdmin(), PropertyType.VALUE, propertyKey; } + /** + * Filters vertices, edges and vertex properties based on the existence of properties. + * + * @param propertyKey the key of the property to filter on for existence + * @return the traversal with an appended {@link HasStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step; target="_blank">Reference Documentation - Has Step + */ public default GraphTraversalhas(final String propertyKey) { this.asAdmin().getBytecode().addStep(Symbols.has, propertyKey); -return this.asAdmin().addStep(new TraversalFilterStep<>(this.asAdmin(), __.values(propertyKey))); +return this.asAdmin().addStep(new TraversalFilterStep(this.asAdmin(), __.values(propertyKey))); } + /** + * Filters vertices, edges and vertex properties based on the non-existence of properties. + * + * @param propertyKey the key of the property to filter on for existence + * @return the traversal with an appended {@link HasStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step; target="_blank">Reference Documentation - Has Step + */ public default GraphTraversalhasNot(final String propertyKey) { this.asAdmin().getBytecode().addStep(Symbols.hasNot, propertyKey); -return this.asAdmin().addStep(new NotStep<>(this.asAdmin(), __.values(propertyKey))); +return this.asAdmin().addStep(new NotStep(this.asAdmin(), __.values(propertyKey))); } + /** + * Filters vertices, edges and vertex properties based on their label. + * + * @param label the label of the {@link Element} + * @param otherLabels additional labels of the {@link Element} + * @return the traversal with an appended {@link HasStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step; target="_blank">Reference Documentation - Has Step + */ public default GraphTraversalhasLabel(final String label, final String... otherLabels) { final String[] labels = new String[otherLabels.length + 1]; labels[0] = label; @@@ -1471,6 -1661,6 +1685,18
[2/6] tinkerpop git commit: Added javadoc for not/is and fixed mispellings CTR
Added javadoc for not/is and fixed mispellings CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/fc54b72f Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/fc54b72f Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/fc54b72f Branch: refs/heads/master Commit: fc54b72f57459886baf843e808564788873b4062 Parents: af1fc40 Author: Stephen MalletteAuthored: Fri Feb 17 13:13:20 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 13:13:20 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 53 +--- 1 file changed, 34 insertions(+), 19 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/fc54b72f/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 1620e8b..0935f7a 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1209,7 +1209,7 @@ public interface GraphTraversal extends Traversal{ * * @param propertyKey the key of the property to filter on * @param predicate the filter to apply to the key's value - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final String propertyKey, final P predicate) { @@ -1222,7 +1222,7 @@ public interface GraphTraversalextends Traversal{ * * @param accessor the {@link T} accessor of the property to filter on * @param predicate the filter to apply to the key's value - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final T accessor, final P predicate) { @@ -1235,7 +1235,7 @@ public interface GraphTraversalextends Traversal{ * * @param propertyKey the key of the property to filter on * @param value the value to compare the property value to for equality - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final String propertyKey, final Object value) { @@ -1254,7 +1254,7 @@ public interface GraphTraversalextends Traversal{ * * @param accessor the {@link T} accessor of the property to filter on * @param value the value to compare the accessor value to for equality - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final T accessor, final Object value) { @@ -1274,7 +1274,7 @@ public interface GraphTraversalextends Traversal{ * @param label the label of the {@link Element} * @param propertyKey the key of the property to filter on * @param predicate the filter to apply to the key's value - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#has-step;>Reference Documentation - Has Step */ public default GraphTraversalhas(final String label, final String propertyKey, final P predicate) { @@ -1289,7 +1289,7 @@ public interface GraphTraversalextends Traversal{ * @param label the label of the {@link Element} * @param propertyKey the key of the property to filter on * @param value the value to compare the accessor value to for equality - * @return the traverse with an appended {@link HasStep} + * @return the traversal with an appended {@link HasStep} * @see
[3/4] tinkerpop git commit: Added javadoc for tree/group/groupCount CTR
Added javadoc for tree/group/groupCount CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/9a0737be Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/9a0737be Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/9a0737be Branch: refs/heads/tp32 Commit: 9a0737bef9a9630f8d0973fc031fe1f348da894a Parents: 92c82e0 Author: Stephen MalletteAuthored: Fri Feb 17 12:15:03 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 12:15:03 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 20 1 file changed, 20 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9a0737be/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index da0f9da..570c52b 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -870,6 +870,13 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(scope.equals(Scope.global) ? new MeanGlobalStep<>(this.asAdmin()) : new MeanLocalStep(this.asAdmin())); } +/** + * Organize objects in the stream into a {@code Map}. Calls to {@code group()} are typically accompanied with + * {@link #by()} modulators which help specify how the grouping should occur. + * + * @return the traversal with an appended {@link GroupStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#group-step;>Reference Documentation - Group Step + */ public defaultGraphTraversal > group() { this.asAdmin().getBytecode().addStep(Symbols.group); return this.asAdmin().addStep(new GroupStep<>(this.asAdmin())); @@ -884,11 +891,24 @@ public interface GraphTraversalextends Traversal{ return this.asAdmin().addStep(new GroupStepV3d0<>(this.asAdmin())); } +/** + * Counts the number of times a particular objects has been part of a traversal, returning a {@code Map} where the + * object is the key and the value is the count. + * + * @return the traversal with an appended {@link GroupCountStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#groupcount-step;>Reference Documentation - GroupCount Step + */ public default GraphTraversal> groupCount() { this.asAdmin().getBytecode().addStep(Symbols.groupCount); return this.asAdmin().addStep(new GroupCountStep<>(this.asAdmin())); } +/** + * Aggregates the emanating paths into a {@link Tree} data structure. + * + * @return the traversal with an appended {@link TreeStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#tree-step;>Reference Documentation - Tree Step + */ public default GraphTraversaltree() { this.asAdmin().getBytecode().addStep(Symbols.tree); return this.asAdmin().addStep(new TreeStep<>(this.asAdmin()));
[4/4] tinkerpop git commit: Added javadoc for some of the filter steps CTR
Added javadoc for some of the filter steps CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/6c24abe2 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/6c24abe2 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/6c24abe2 Branch: refs/heads/tp32 Commit: 6c24abe263f93cff4c8bcbc6de83bf4ba7912fbd Parents: 9a0737b Author: Stephen MalletteAuthored: Fri Feb 17 12:23:51 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 12:23:51 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 52 1 file changed, 52 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/6c24abe2/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 570c52b..f355629 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -1096,16 +1096,38 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new TraversalFilterStep<>(this.asAdmin(), (Traversal) filterTraversal)); } +/** + * Ensures that at least one of the provided traversals yield a result. + * + * @param orTraversals filter traversals where at least one must be satisfied + * @return the traversal with an appended {@link OrStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#or-step;>Reference Documentation - Or Step + */ public default GraphTraversalor(final Traversal... orTraversals) { this.asAdmin().getBytecode().addStep(Symbols.or, orTraversals); return this.asAdmin().addStep(new OrStep(this.asAdmin(), orTraversals)); } +/** + * Ensures that all of the provided traversals yield a result. + * + * @param andTraversals filter traversals that must be satisfied + * @return the traversal with an appended {@link AndStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#and-step;>Reference Documentation - And Step + */ public default GraphTraversaland(final Traversal... andTraversals) { this.asAdmin().getBytecode().addStep(Symbols.and, andTraversals); return this.asAdmin().addStep(new AndStep(this.asAdmin(), andTraversals)); } +/** + * Provides a way to add arbitrary objects to a traversal stream. + * + * @param injections the objects to add to the stream + * @return the traversal with an appended {@link InjectStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#inject-step;>Reference Documentation - Inject Step + * + */ public default GraphTraversalinject(final E... injections) { this.asAdmin().getBytecode().addStep(Symbols.inject, injections); return this.asAdmin().addStep(new InjectStep<>(this.asAdmin(), injections)); @@ -1117,6 +1139,7 @@ public interface GraphTraversalextends Traversal{ * @param scope whether the deduplication is on the stream (global) or the current object (local). * @param dedupLabels if labels are provided, then the scope labels determine de-duplication. No labels implies current object. * @return the traversal with an appended {@link DedupGlobalStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#dedup-step;>Reference Documentation - Dedup Step */ public default GraphTraversaldedup(final Scope scope, final String... dedupLabels) { this.asAdmin().getBytecode().addStep(Symbols.dedup, scope, dedupLabels); @@ -1128,22 +1151,51 @@ public interface GraphTraversalextends Traversal{ * * @param dedupLabels if labels are provided, then the scoped object's labels determine de-duplication. No labels implies current object. * @return the traversal with an appended {@link DedupGlobalStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#dedup-step;>Reference Documentation - Dedup Step */ public default GraphTraversaldedup(final String... dedupLabels) { this.asAdmin().getBytecode().addStep(Symbols.dedup, dedupLabels); return this.asAdmin().addStep(new DedupGlobalStep<>(this.asAdmin(), dedupLabels));
[5/5] tinkerpop git commit: Merge branch 'tp32'
Merge branch 'tp32' Conflicts: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/73a36da3 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/73a36da3 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/73a36da3 Branch: refs/heads/master Commit: 73a36da3c9f381700ec0e399e2d306d1ebd35a60 Parents: c28d124 6c24abe Author: Stephen MalletteAuthored: Fri Feb 17 12:47:36 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 12:47:36 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 11 ++ .../traversal/dsl/graph/GraphTraversal.java | 131 +-- 2 files changed, 130 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/73a36da3/docs/src/reference/the-traversal.asciidoc -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/73a36da3/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --cc gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 80d182e,f355629..8e8309a --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@@ -708,28 -708,24 +709,47 @@@ public interface GraphTraversal e } /** + * @deprecated As of release 3.3.0, replaced by {@link GraphTraversal#select(Pop, String)} with {@link Pop#mixed}. + */ +@Deprecated +public default GraphTraversalselectV3d2(final String selectKey) { +this.asAdmin().getBytecode().addStep(Symbols.selectV3d2, selectKey); +return this.asAdmin().addStep(new SelectOneStep<>(this.asAdmin(), Pop.mixed, selectKey)); +} + +/** + * @deprecated As of release 3.3.0, replaced by {@link GraphTraversal#select(Pop, String, String, String...)} with {@link Pop#mixed}. + */ +@Deprecated +public default GraphTraversal> selectV3d2(final String selectKey1, final String selectKey2, String... otherSelectKeys) { +final String[] selectKeys = new String[otherSelectKeys.length + 2]; +selectKeys[0] = selectKey1; +selectKeys[1] = selectKey2; +System.arraycopy(otherSelectKeys, 0, selectKeys, 2, otherSelectKeys.length); +this.asAdmin().getBytecode().addStep(Symbols.selectV3d2, selectKey1, selectKey2, otherSelectKeys); +return this.asAdmin().addStep(new SelectStep<>(this.asAdmin(), Pop.mixed, selectKeys)); +} + + ++/** + * A version of {@code select} that allows for the extraction of a {@link Column} from objects in the traversal. + * + * @param column the column to extract + * @return the traversal with an appended {@link TraversalMapStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step + */ + public default GraphTraversalselect(final Column column) { + this.asAdmin().getBytecode().addStep(Symbols.select, column); + return this.asAdmin().addStep(new TraversalMapStep<>(this.asAdmin(), new ColumnTraversal(column))); + } + + /** + * Unrolls a {@code Iterator}, {@code Iterable} or {@code Map} into a linear form or simply emits the object if it + * is not one of those types. + * + * @return the traversal with an appended {@link UnfoldStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#unfold-step;>Reference Documentation - Unfold Step + */ public default GraphTraversalunfold() { this.asAdmin().getBytecode().addStep(Symbols.unfold); return this.asAdmin().addStep(new UnfoldStep<>(this.asAdmin())); @@@ -856,9 -867,16 +891,16 @@@ */ public default GraphTraversalmean(final Scope scope) { this.asAdmin().getBytecode().addStep(Symbols.mean, scope); -return this.asAdmin().addStep(scope.equals(Scope.global) ? new MeanGlobalStep<>(this.asAdmin()) : new MeanLocalStep(this.asAdmin())); +return this.asAdmin().addStep(scope.equals(Scope.global) ? new MeanGlobalStep(this.asAdmin()) : new MeanLocalStep(this.asAdmin())); } + /** + * Organize objects in the stream into a {@code Map}. Calls to {@code group()} are typically accompanied with + * {@link
[2/4] tinkerpop git commit: Added javadocs for fold/unfold/project CTR
Added javadocs for fold/unfold/project CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/92c82e03 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/92c82e03 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/92c82e03 Branch: refs/heads/tp32 Commit: 92c82e03c9e1d951b232cf4d19a1e440e35a7a32 Parents: 78a43b8 Author: Stephen MalletteAuthored: Fri Feb 17 12:00:43 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 12:00:43 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 52 +++- 1 file changed, 40 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/92c82e03/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 26b034d..da0f9da 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -542,18 +542,6 @@ public interface GraphTraversal extends Traversal{ } /** - * A version of {@code select} that allows for the extraction of a {@link Column} from objects in the traversal. - * - * @param column the column to extract - * @return the traversal with an appended {@link TraversalMapStep} - * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step - */ -public default GraphTraversalselect(final Column column) { -this.asAdmin().getBytecode().addStep(Symbols.select, column); -return this.asAdmin().addStep(new TraversalMapStep<>(this.asAdmin(), new ColumnTraversal(column))); -} - -/** * @deprecated As of release 3.1.0, replaced by {@link GraphTraversal#select(Column)} */ @Deprecated @@ -639,6 +627,12 @@ public interface GraphTraversalextends Traversal{ return this.asAdmin().addStep(new LoopsStep<>(this.asAdmin())); } +/** + * Projects the current object in the stream into a {@code Map} that is keyed by the provided labels. + * + * @return the traversal with an appended {@link ProjectStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#project-step;>Reference Documentation - Project Step + */ public default GraphTraversal> project(final String projectKey, final String... otherProjectKeys) { final String[] projectKeys = new String[otherProjectKeys.length + 1]; projectKeys[0] = projectKey; @@ -713,16 +707,50 @@ public interface GraphTraversalextends Traversal{ return this.asAdmin().addStep(new SelectOneStep<>(this.asAdmin(), null, selectKey)); } +/** + * A version of {@code select} that allows for the extraction of a {@link Column} from objects in the traversal. + * + * @param column the column to extract + * @return the traversal with an appended {@link TraversalMapStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step + */ +public default GraphTraversalselect(final Column column) { +this.asAdmin().getBytecode().addStep(Symbols.select, column); +return this.asAdmin().addStep(new TraversalMapStep<>(this.asAdmin(), new ColumnTraversal(column))); +} + +/** + * Unrolls a {@code Iterator}, {@code Iterable} or {@code Map} into a linear form or simply emits the object if it + * is not one of those types. + * + * @return the traversal with an appended {@link UnfoldStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#unfold-step;>Reference Documentation - Unfold Step + */ public default GraphTraversalunfold() { this.asAdmin().getBytecode().addStep(Symbols.unfold); return this.asAdmin().addStep(new UnfoldStep<>(this.asAdmin())); } +/** + * Rolls up objects in the stream into an aggregate list. + * + * @return the traversal with an appended {@link FoldStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#fold-step;>Reference Documentation - Fold Step + */ public default GraphTraversalfold() {
[3/5] tinkerpop git commit: Added javadoc for tree/group/groupCount CTR
Added javadoc for tree/group/groupCount CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/9a0737be Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/9a0737be Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/9a0737be Branch: refs/heads/master Commit: 9a0737bef9a9630f8d0973fc031fe1f348da894a Parents: 92c82e0 Author: Stephen MalletteAuthored: Fri Feb 17 12:15:03 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 12:15:03 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 20 1 file changed, 20 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9a0737be/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index da0f9da..570c52b 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -870,6 +870,13 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(scope.equals(Scope.global) ? new MeanGlobalStep<>(this.asAdmin()) : new MeanLocalStep(this.asAdmin())); } +/** + * Organize objects in the stream into a {@code Map}. Calls to {@code group()} are typically accompanied with + * {@link #by()} modulators which help specify how the grouping should occur. + * + * @return the traversal with an appended {@link GroupStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#group-step;>Reference Documentation - Group Step + */ public defaultGraphTraversal > group() { this.asAdmin().getBytecode().addStep(Symbols.group); return this.asAdmin().addStep(new GroupStep<>(this.asAdmin())); @@ -884,11 +891,24 @@ public interface GraphTraversalextends Traversal{ return this.asAdmin().addStep(new GroupStepV3d0<>(this.asAdmin())); } +/** + * Counts the number of times a particular objects has been part of a traversal, returning a {@code Map} where the + * object is the key and the value is the count. + * + * @return the traversal with an appended {@link GroupCountStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#groupcount-step;>Reference Documentation - GroupCount Step + */ public default GraphTraversal> groupCount() { this.asAdmin().getBytecode().addStep(Symbols.groupCount); return this.asAdmin().addStep(new GroupCountStep<>(this.asAdmin())); } +/** + * Aggregates the emanating paths into a {@link Tree} data structure. + * + * @return the traversal with an appended {@link TreeStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#tree-step;>Reference Documentation - Tree Step + */ public default GraphTraversaltree() { this.asAdmin().getBytecode().addStep(Symbols.tree); return this.asAdmin().addStep(new TreeStep<>(this.asAdmin()));
[1/5] tinkerpop git commit: Added reference/javadoc for loops() CTR
Repository: tinkerpop Updated Branches: refs/heads/master c28d1247f -> 73a36da3c Added reference/javadoc for loops() CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/78a43b8c Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/78a43b8c Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/78a43b8c Branch: refs/heads/master Commit: 78a43b8c1d8936cb0ee5393921630e8edeef18ac Parents: 0a08bf9 Author: Stephen MalletteAuthored: Fri Feb 17 11:49:47 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 11:49:47 2017 -0500 -- docs/src/reference/the-traversal.asciidoc| 11 +++ .../process/traversal/dsl/graph/GraphTraversal.java | 7 +++ 2 files changed, 18 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/78a43b8c/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index 8ba51df..e34c0a5 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -950,6 +950,17 @@ WARNING: The anonymous traversal of `local()` processes the current object "loca of computing is the vertex and its local "star graph," it is important that the anonymous traversal does not leave the confines of the vertex's star graph. In other words, it can not traverse to an adjacent vertex's properties or edges. +[[loops-step]] +Loops Step +~~ + +The `loops()`-step (*map*) extracts the number of times the `Traverser` has gone through the current loop. + +[gremlin-groovy,modern] + +g.V().emit(__.has("name", "marko").or().loops().is(2)).repeat(__.out()).values("name") + + [[match-step]] Match Step ~~ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/78a43b8c/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 095391d..26b034d 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -627,6 +627,13 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new SackStep<>(this.asAdmin())); } +/** + * If the {@link Traverser} supports looping then calling this method will extract the number of loops for that + * traverser. + * + * @return the traversal with an appended {@link LoopsStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#loops-step;>Reference Documentation - Loops Step + */ public default GraphTraversalloops() { this.asAdmin().getBytecode().addStep(Symbols.loops); return this.asAdmin().addStep(new LoopsStep<>(this.asAdmin()));
[12/21] tinkerpop git commit: Added tests around use of Pop in select()
Added tests around use of Pop in select() Added more javadoc and reference docs CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0a08bf92 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0a08bf92 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0a08bf92 Branch: refs/heads/TINKERPOP-1599 Commit: 0a08bf929fdad19cbef4b21e993ce041254d8589 Parents: 123abf9 Author: Stephen MalletteAuthored: Fri Feb 17 11:27:09 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 11:27:09 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 9 +++ .../traversal/dsl/graph/GraphTraversal.java | 22 +++ .../traversal/step/map/GroovySelectTest.groovy | 10 +++ .../process/traversal/step/map/SelectTest.java | 28 4 files changed, 69 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0a08bf92/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index 2002028..8ba51df 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -1960,6 +1960,15 @@ g.V().hasLabel('song').out('sungBy').groupCount().by('name').select(values).unfo WARNING: Note that `by()`-modulation is not supported with `select(keys)` and `select(values)`. +There is also an option to supply a `Pop` operation to `select()` to manipulate `List` objects in the `Traverser`: + +[gremlin-groovy,modern] + +g.V(1).as("a").repeat(out().as("a")).times(2).select(first, "a") +g.V(1).as("a").repeat(out().as("a")).times(2).select(last, "a") +g.V(1).as("a").repeat(out().as("a")).times(2).select(all, "a") + + [[using-where-with-select]] Using Where with Select ^^^ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0a08bf92/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 0c04e83..095391d 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -595,6 +595,7 @@ public interface GraphTraversal extends Traversal{ * Map the {@link Traverser} to its {@link Path} history via {@link Traverser#path}. * * @return the traversal with an appended {@link PathStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#path-step;>Reference Documentation - Path Step */ public default GraphTraversalpath() { this.asAdmin().getBytecode().addStep(Symbols.path); @@ -607,6 +608,7 @@ public interface GraphTraversalextends Traversal{ * @param matchTraversals the traversal that maintain variables which must hold for the life of the traverser * @param the type of the obejcts bound in the variables * @return the traversal with an appended {@link MatchStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#match-step;>Reference Documentation - Match Step */ public default GraphTraversal> match(final Traversal... matchTraversals) { this.asAdmin().getBytecode().addStep(Symbols.match, matchTraversals); @@ -618,6 +620,7 @@ public interface GraphTraversalextends Traversal{ * * @param the sack value type * @return the traversal with an appended {@link SackStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#sack-step;>Reference Documentation - Sack Step */ public default GraphTraversalsack() { this.asAdmin().getBytecode().addStep(Symbols.sack); @@ -646,6 +649,7 @@ public interface GraphTraversalextends Traversal{ * @param otherSelectKeys the third+ keys to project * @param the type of the objects projected * @return the traversal with an appended {@link SelectStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step */ public default GraphTraversal> select(final Pop pop, final String selectKey1, final String selectKey2, String...
[01/21] tinkerpop git commit: Fixed an optimization bug in LazyBarrierStrategy. RemoteStrategy should be responsible for network I/O concerns (and using bulking as the optimization). [Forced Update!]
Repository: tinkerpop Updated Branches: refs/heads/TINKERPOP-1599 7ca1c4de9 -> 629b5c17a (forced update) Fixed an optimization bug in LazyBarrierStrategy. RemoteStrategy should be responsible for network I/O concerns (and using bulking as the optimization). Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/080306b0 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/080306b0 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/080306b0 Branch: refs/heads/TINKERPOP-1599 Commit: 080306b099b3ca5dbf5bf5041447fd1a0557b9cb Parents: 9d74372 Author: Marko A. RodriguezAuthored: Wed Feb 15 15:07:53 2017 -0700 Committer: Marko A. Rodriguez Committed: Wed Feb 15 15:07:53 2017 -0700 -- CHANGELOG.asciidoc | 3 ++- .../upgrade/release-3.2.x-incubating.asciidoc | 26 .../strategy/decoration/RemoteStrategy.java | 8 +- .../optimization/LazyBarrierStrategy.java | 2 +- .../optimization/LazyBarrierStrategyTest.java | 19 +++--- .../Neo4jGraphStepStrategyTest.java | 2 +- .../TinkerGraphStepStrategyTest.java| 2 +- 7 files changed, 47 insertions(+), 15 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/080306b0/CHANGELOG.asciidoc -- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index b550fe4..cf7312e 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -26,7 +26,8 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima TinkerPop 3.2.5 (Release Date: NOT OFFICIALLY RELEASED YET) ~~~ - +* Fixed an optimization bug in `LazyBarrierStrategy` around appending barriers to the end of a `Traversal`. +* `RemoteStrategy` is smart to try and append a `NoOpBarrierStep` in order to bulk traversers prior to network I/O. [[release-3-2-4]] TinkerPop 3.2.4 (Release Date: February 8, 2017) http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/080306b0/docs/src/upgrade/release-3.2.x-incubating.asciidoc -- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index c199238..1247433 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -22,6 +22,32 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima *Nine Inch Gremlins* +TinkerPop 3.2.5 +--- + +*Release Date: NOT OFFICIALLY RELEASED YET* + +Please see the link:https://github.com/apache/tinkerpop/blob/3.2.5/CHANGELOG.asciidoc#release-3-2-5[changelog] for a complete list of all the modifications that are part of this release. + +Upgrading for Users +~~~ + +Upgrading for Providers +~~~ + +LazyBarrierStrategy No Longer End Appends Barriers +++ + +`LazyBarrierStrategy` was trying to do to much by considering `Traverser` effects on network I/O by appending an +`NoOpBarrierStrategy` to the end of the root traversal. This should not be accomplished by `LazyBarrierStrategy`, +but instead by `RemoteStrategy`. `RemoteStrategy` now tries to barrier-append. This may effect the reasoninig logic in +some `ProviderStrategies`. Most likely not, but just be aware. + +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1627[TINKERPOP-1627] + +TinkerGraph Deserialization +^^^ + TinkerPop 3.2.4 --- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/080306b0/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/traversal/strategy/decoration/RemoteStrategy.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/traversal/strategy/decoration/RemoteStrategy.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/traversal/strategy/decoration/RemoteStrategy.java index 38ceb95..14d3b36 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/traversal/strategy/decoration/RemoteStrategy.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/traversal/strategy/decoration/RemoteStrategy.java @@ -24,6 +24,8 @@ import org.apache.tinkerpop.gremlin.process.remote.RemoteGraph; import org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep; import org.apache.tinkerpop.gremlin.process.traversal.Traversal; import
[16/21] tinkerpop git commit: a couple small fixes in tests
a couple small fixes in tests Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/aa848c1a Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/aa848c1a Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/aa848c1a Branch: refs/heads/TINKERPOP-1599 Commit: aa848c1add11e67cedebb6a63d2a9e40f1cb2072 Parents: 1d203b7 Author: davebshowAuthored: Mon Jan 30 20:02:25 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:36:57 2017 -0500 -- .../src/main/jython/gremlin_python/driver/protocol.py | 1 - gremlin-python/src/main/jython/tests/conftest.py| 9 + gremlin-python/src/main/jython/tests/driver/test_client.py | 5 - 3 files changed, 5 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aa848c1a/gremlin-python/src/main/jython/gremlin_python/driver/protocol.py -- diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/protocol.py b/gremlin-python/src/main/jython/gremlin_python/driver/protocol.py index 2ace35e..279a8f5 100644 --- a/gremlin-python/src/main/jython/gremlin_python/driver/protocol.py +++ b/gremlin-python/src/main/jython/gremlin_python/driver/protocol.py @@ -95,7 +95,6 @@ class GremlinServerWSProtocol(AbstractBaseProtocol): data = self._transport.read() self.data_received(data, results_dict) else: -# result_set.done.set_result(None) del results_dict[request_id] else: del results_dict[request_id] http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aa848c1a/gremlin-python/src/main/jython/tests/conftest.py -- diff --git a/gremlin-python/src/main/jython/tests/conftest.py b/gremlin-python/src/main/jython/tests/conftest.py index 3ab64a8..49779ac 100644 --- a/gremlin-python/src/main/jython/tests/conftest.py +++ b/gremlin-python/src/main/jython/tests/conftest.py @@ -31,14 +31,15 @@ from gremlin_python.driver.tornado.transport import TornadoTransport @pytest.fixture def connection(request): +protocol = GremlinServerWSProtocol( +username='stephen', password='password') +executor = concurrent.futures.ThreadPoolExecutor(5) +pool = queue.Queue() try: -protocol = GremlinServerWSProtocol( -username='stephen', password='password') -executor = concurrent.futures.ThreadPoolExecutor(5) -pool = queue.Queue() conn = Connection('ws://localhost:45940/gremlin', 'g', protocol, lambda: TornadoTransport(), executor, pool) except: +executor.shutdown() pytest.skip('Gremlin Server is not running') else: def fin(): http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aa848c1a/gremlin-python/src/main/jython/tests/driver/test_client.py -- diff --git a/gremlin-python/src/main/jython/tests/driver/test_client.py b/gremlin-python/src/main/jython/tests/driver/test_client.py index 6395d7b..2e0e96c 100644 --- a/gremlin-python/src/main/jython/tests/driver/test_client.py +++ b/gremlin-python/src/main/jython/tests/driver/test_client.py @@ -41,7 +41,6 @@ def test_client(client): message = RequestMessage('traversal', 'bytecode', {'gremlin': t.bytecode}) result_set = client.submit(message) assert len(result_set.all().result()) == 6 -client.close() def test_iterate_result_set(client): g = Graph().traversal() @@ -52,7 +51,6 @@ def test_iterate_result_set(client): for result in result_set: results += result assert len(results) == 6 -client.close() def test_client_async(client): g = Graph().traversal() @@ -62,7 +60,6 @@ def test_client_async(client): assert not future.done() result_set = future.result() assert len(result_set.all().result()) == 6 -client.close() def test_connection_share(client): # Overwrite fixture with pool_size=1 client @@ -80,7 +77,6 @@ def test_connection_share(client): assert future.done() result_set = future.result() assert len(result_set.all().result()) == 6 -client.close() def test_multi_conn_pool(client): g = Graph().traversal() @@ -95,4 +91,3 @@ def test_multi_conn_pool(client): # with connection pool `future` may or may not be done here result_set = future.result() assert len(result_set.all().result()) == 6 -client.close()
[04/21] tinkerpop git commit: Added ability to inject maven variables to javadoc
Added ability to inject maven variables to javadoc This will make it possible to easily cross-reference javadoc to reference docs CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7d173c86 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7d173c86 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7d173c86 Branch: refs/heads/TINKERPOP-1599 Commit: 7d173c86be7f6ad00eeb0a18d7b615d9f527ec48 Parents: b717615 Author: Stephen MalletteAuthored: Thu Feb 16 13:55:18 2017 -0500 Committer: Stephen Mallette Committed: Thu Feb 16 13:55:18 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 1 + pom.xml | 36 2 files changed, 37 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7d173c86/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index abcb870..2e5858a 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -262,6 +262,7 @@ public interface GraphTraversal extends Traversal{ * Map any object to a fixed E value. * * @return the traversal with an appended {@link ConstantStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#constant-step;>Reference Documentation - Constant Step */ public default GraphTraversalconstant(final E2 e) { this.asAdmin().getBytecode().addStep(Symbols.constant, e); http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7d173c86/pom.xml -- diff --git a/pom.xml b/pom.xml index 00eaaab..802593e 100644 --- a/pom.xml +++ b/pom.xml @@ -1215,6 +1215,42 @@ limitations under the License. + +maven-resources-plugin + + +apply-filters-to-javadoc +process-resources + +copy-resources + + + ${basedir}/target/javadoc-temp + + + ${basedir}/target/site/apidocs +true + + + + + +copy-java-doc-back +process-resources + +copy-resources + + + ${basedir}/target/site/apidocs + + + ${basedir}/target/javadoc-temp + + + + + +
[08/21] tinkerpop git commit: Added javadoc/reference docs for label/id steps CTR
Added javadoc/reference docs for label/id steps CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/4215f3aa Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/4215f3aa Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/4215f3aa Branch: refs/heads/TINKERPOP-1599 Commit: 4215f3aa64234c786a2cdeab163c6c304940065d Parents: 1780823 Author: Stephen MalletteAuthored: Thu Feb 16 16:58:13 2017 -0500 Committer: Stephen Mallette Committed: Thu Feb 16 16:58:13 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 27 .../traversal/dsl/graph/GraphTraversal.java | 2 ++ 2 files changed, 29 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/4215f3aa/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index ed76a7a..b41cf4a 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -807,6 +807,20 @@ the key,value pairs for those verticies. TinkerPop does not support a regular expression predicate, although specific graph databases that leverage TinkerPop may provide a partial match extension. +[[id-step]] +Id Step +~~~ + +The `id()`-step (*map*) takes an `Element` and extracts its identifier from it. + +[gremlin-groovy,modern] + +g.V().id() +g.V(1).out().id().is(2) +g.V(1).outE().id() +g.V(1).properties().id() + + [[inject-step]] Inject Step ~~~ @@ -855,6 +869,19 @@ g.V().where(__.in('created').values('age'). <2> Find projects having two or more contributors. <3> Find projects whose contributors average age is between 30 and 35. +[[label-step]] +Label Step +~~ + +The `label()`-step (*map*) takes an `Element` and extracts its label from it. + +[gremlin-groovy,modern] + +g.V().label() +g.V(1).outE().label() +g.V(1).properties().label() + + [[limit-step]] Limit Step ~~ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/4215f3aa/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 29f3b0a..1dcdd43 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -242,6 +242,7 @@ public interface GraphTraversal extends Traversal{ * Map the {@link Element} to its {@link Element#id}. * * @return the traversal with an appended {@link IdStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#id-step;>Reference Documentation - Id Step */ public default GraphTraversalid() { this.asAdmin().getBytecode().addStep(Symbols.id); @@ -252,6 +253,7 @@ public interface GraphTraversalextends Traversal{ * Map the {@link Element} to its {@link Element#label}. * * @return the traversal with an appended {@link LabelStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#label-step;>Reference Documentation - Label Step */ public default GraphTraversallabel() { this.asAdmin().getBytecode().addStep(Symbols.label);
[06/21] tinkerpop git commit: Added javadoc to GraphTraversal for all mutating steps. CTR
Added javadoc to GraphTraversal for all mutating steps. CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/ff96e3c8 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/ff96e3c8 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/ff96e3c8 Branch: refs/heads/TINKERPOP-1599 Commit: ff96e3c8754c6130e545636e1350d75252368bd3 Parents: a30dabc Author: Stephen MalletteAuthored: Thu Feb 16 16:31:02 2017 -0500 Committer: Stephen Mallette Committed: Thu Feb 16 16:31:02 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 62 1 file changed, 62 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ff96e3c8/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index b00293d..d6e6cfd 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -745,11 +745,24 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new TreeStep<>(this.asAdmin())); } +/** + * Adds a {@link Vertex}. + * + * @param vertexLabel the label of the {@link Vertex} to add + * @return the traversal with the {@link AddVertexStep} added + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#addvertex-step;>Reference Documentation - AddVertex Step + */ public default GraphTraversaladdV(final String vertexLabel) { this.asAdmin().getBytecode().addStep(Symbols.addV, vertexLabel); return this.asAdmin().addStep(new AddVertexStep<>(this.asAdmin(), vertexLabel)); } +/** + * Adds a {@link Vertex} with a default vertex label. + * + * @return the traversal with the {@link AddVertexStep} added + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#addvertex-step;>Reference Documentation - AddVertex Step + */ public default GraphTraversaladdV() { this.asAdmin().getBytecode().addStep(Symbols.addV); return this.asAdmin().addStep(new AddVertexStep<>(this.asAdmin(), null)); @@ -768,29 +781,68 @@ public interface GraphTraversalextends Traversal{ return (GraphTraversal) this; } +/** + * Adds an {@link Edge} with the specified edge label. + * + * @param edgeLabel the label of the newly added edge + * @return the traversal with the {@link AddEdgeStep} added + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#addedge-step;>Reference Documentation - AddEdge Step + */ public default GraphTraversaladdE(final String edgeLabel) { this.asAdmin().getBytecode().addStep(Symbols.addE, edgeLabel); return this.asAdmin().addStep(new AddEdgeStep<>(this.asAdmin(), edgeLabel)); } +/** + * When used as a modifier to {@link #addE(String)} this method specifies the step label to use for selecting the + * incoming vertex of the newly added {@link Edge}. + * + * @param toStepLabel the step label of the incoming vertex + * @return the traversal with the modified {@link AddEdgeStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#addedge-step;>Reference Documentation - AddEdge Step + */ public default GraphTraversalto(final String toStepLabel) { this.asAdmin().getBytecode().addStep(Symbols.to, toStepLabel); ((AddEdgeStep) this.asAdmin().getEndStep()).addTo(__.select(toStepLabel)); return this; } +/** + * When used as a modifier to {@link #addE(String)} this method specifies the step label to use for selecting the + * outgoing vertex of the newly added {@link Edge}. + * + * @param fromStepLabel the step label of the outgoing vertex + * @return the traversal with the modified {@link AddEdgeStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#addedge-step;>Reference Documentation - AddEdge Step + */ public default GraphTraversalfrom(final String fromStepLabel) { this.asAdmin().getBytecode().addStep(Symbols.from, fromStepLabel); ((AddEdgeStep) this.asAdmin().getEndStep()).addFrom(__.select(fromStepLabel)); return
[21/21] tinkerpop git commit: updated changlog, added docs
updated changlog, added docs Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/af1c579a Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/af1c579a Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/af1c579a Branch: refs/heads/TINKERPOP-1599 Commit: af1c579a8b99db1512d3714e94beda501b69d23e Parents: b711b5e Author: davebshowAuthored: Wed Feb 15 18:26:08 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:42:24 2017 -0500 -- CHANGELOG.asciidoc | 5 ++ .../src/reference/gremlin-applications.asciidoc | 71 .../upgrade/release-3.2.x-incubating.asciidoc | 30 - 3 files changed, 103 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/af1c579a/CHANGELOG.asciidoc -- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index de78d24..744ffee 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -29,6 +29,11 @@ TinkerPop 3.2.5 (Release Date: NOT OFFICIALLY RELEASED YET) * Refactor `SparkContext` handler to support external kill and stop operations. * Fixed an optimization bug in `LazyBarrierStrategy` around appending barriers to the end of a `Traversal`. * `TraverserIterator` in GremlinServer is smart to try and bulk traversers prior to network I/O. +* Improved Gremlin-Python Driver implementation by adding a threaded client with basic connection pooling and support for pluggable websocket clients. + +Improvements + +TINKERPOP-1599 implement real gremlin-python driver [[release-3-2-4]] TinkerPop 3.2.4 (Release Date: February 8, 2017) http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/af1c579a/docs/src/reference/gremlin-applications.asciidoc -- diff --git a/docs/src/reference/gremlin-applications.asciidoc b/docs/src/reference/gremlin-applications.asciidoc index 7ca4efd..ece0a82 100644 --- a/docs/src/reference/gremlin-applications.asciidoc +++ b/docs/src/reference/gremlin-applications.asciidoc @@ -762,6 +762,77 @@ The above code demonstrates using the `TitanIoRegistry` which is an `IoRegistry` what classes (from Titan in this case) to auto-register during serialization. Gremlin Server roughly uses this same approach when it configures it's serializers, so using this same model will ensure compatibility when making requests. +[[connecting-via-python]] +Connecting via Python +~ + +[source,python] + +pip install gremlinpython + + +TinkerPop3 also includes a client for Python-based applications. It is referred to as Gremlin-Python Driver. +The `Client` class implementation/interface is based on the Java Driver, with some restrictions. Most notably, +Gremlin-Python does not yet implement the `Cluster` class. Instead, `Client` is instantiated directly. +Usage is as follows: + +[source,python] + +from gremlin_python.driver import client <1> +client = client.Client('ws://localhost:8182/gremlin', 'g') <2> + + +<1> Import the Gremlin-Python `client` module. +<2> Opens a reference to `localhost` - note that there are various configuration options that can be passed +to the `Client` object upon instantiation as keyword arguments. + +Once a `Client` instance is ready, it is possible to issue some Gremlin: + +[source,python] + +result_set = client.submit("[1,2,3,4]") <1> +future_results = result_set.all() <2> +results = future_results.result() <3> +assert results == [1, 2, 3, 4] <4> + +future_result_set = client.submitAsync("[1,2,3,4]") <5> +result_set = future_result_set.result() <6> +result = result_set.one() <7> +assert results == [1, 2, 3, 4] <8> +assert result_set.done.done() <9> + + +<1> Submit a script that simply returns a `List` of integers. This method blocks until the request is written to +the server and a `ResultSet` is constructed. +<2> Even though the `ResultSet` is constructed, it does not mean that the server has sent back the results (or even +evaluated the script potentially). The `ResultSet` is just a holder that is awaiting the results from the server. The `all` method +returns a `concurrent.futures.Future` that resolves to a list when it is complete. +<3> Block until the the script is evaluated and results are sent back by the server. +<4> Verify the result. +<5> Submit the same script to the server but don't block. +<6> Wait until request is written to the server and `ResultSet` is constructed. +<7> Read a single result off the result stream. +<8> Again, verify the result. +<9> Verify that the all results have been read and stream is closed. + +Configuration +^ + +The following table
[18/21] tinkerpop git commit: added standard message processor
added standard message processor Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/07d20646 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/07d20646 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/07d20646 Branch: refs/heads/TINKERPOP-1599 Commit: 07d2064677db405493c7963a937dcbcd4f502b20 Parents: 949ed56 Author: davebshowAuthored: Wed Feb 15 14:25:28 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:36:57 2017 -0500 -- .../src/main/jython/gremlin_python/driver/client.py | 5 + .../main/jython/gremlin_python/driver/serializer.py | 10 ++ .../src/main/jython/tests/driver/test_client.py | 15 ++- 3 files changed, 29 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/07d20646/gremlin-python/src/main/jython/gremlin_python/driver/client.py -- diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/client.py b/gremlin-python/src/main/jython/gremlin_python/driver/client.py index dec39bf..fcbdf07 100644 --- a/gremlin-python/src/main/jython/gremlin_python/driver/client.py +++ b/gremlin-python/src/main/jython/gremlin_python/driver/client.py @@ -110,5 +110,10 @@ class Client: processor='traversal', op='bytecode', args={'gremlin': message, 'aliases': {'g': self._traversal_source}}) +elif isinstance(message, str): +message = request.RequestMessage( +processor='', op='eval', +args={'gremlin': message, + 'aliases': {'g': self._traversal_source}}) conn = self._pool.get(True) return conn.write(message) http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/07d20646/gremlin-python/src/main/jython/gremlin_python/driver/serializer.py -- diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/serializer.py b/gremlin-python/src/main/jython/gremlin_python/driver/serializer.py index 10dcfd3..2db7374 100644 --- a/gremlin-python/src/main/jython/gremlin_python/driver/serializer.py +++ b/gremlin-python/src/main/jython/gremlin_python/driver/serializer.py @@ -48,6 +48,16 @@ class GraphSONMessageSerializer: _graphson_reader = graphson.GraphSONReader() + +class standard(Processor): + +def authentication(self, args): +return args + +def eval(self, args): +return args + + class traversal(Processor): def authentication(self, args): http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/07d20646/gremlin-python/src/main/jython/tests/driver/test_client.py -- diff --git a/gremlin-python/src/main/jython/tests/driver/test_client.py b/gremlin-python/src/main/jython/tests/driver/test_client.py index 2e0e96c..02582a1 100644 --- a/gremlin-python/src/main/jython/tests/driver/test_client.py +++ b/gremlin-python/src/main/jython/tests/driver/test_client.py @@ -35,13 +35,23 @@ def test_connection(connection): assert len(results) == 6 assert isinstance(results, list) -def test_client(client): + +def test_client_simple_eval(client): +assert client.submit('1 + 1').all().result()[0] == 2 + + +def test_client_eval_traversal(client): +assert len(client.submit('g.V()').all().result()) == 6 + + +def test_client_bytecode(client): g = Graph().traversal() t = g.V() message = RequestMessage('traversal', 'bytecode', {'gremlin': t.bytecode}) result_set = client.submit(message) assert len(result_set.all().result()) == 6 + def test_iterate_result_set(client): g = Graph().traversal() t = g.V() @@ -52,6 +62,7 @@ def test_iterate_result_set(client): results += result assert len(results) == 6 + def test_client_async(client): g = Graph().traversal() t = g.V() @@ -61,6 +72,7 @@ def test_client_async(client): result_set = future.result() assert len(result_set.all().result()) == 6 + def test_connection_share(client): # Overwrite fixture with pool_size=1 client client = Client('ws://localhost:45940/gremlin', 'g', pool_size=1) @@ -78,6 +90,7 @@ def test_connection_share(client): result_set = future.result() assert len(result_set.all().result()) == 6 + def test_multi_conn_pool(client): g = Graph().traversal() t = g.V()
[15/21] tinkerpop git commit: allow client users to pass bindings as a second arg
allow client users to pass bindings as a second arg Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/b711b5e6 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/b711b5e6 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/b711b5e6 Branch: refs/heads/TINKERPOP-1599 Commit: b711b5e667c53328aed1c5fe9baad51fde5dc0b1 Parents: e3067e9 Author: davebshowAuthored: Wed Feb 15 17:57:32 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:36:57 2017 -0500 -- .../src/main/jython/gremlin_python/driver/client.py | 8 +--- gremlin-python/src/main/jython/tests/driver/test_client.py | 4 2 files changed, 9 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b711b5e6/gremlin-python/src/main/jython/gremlin_python/driver/client.py -- diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/client.py b/gremlin-python/src/main/jython/gremlin_python/driver/client.py index 0314a44..c7c7037 100644 --- a/gremlin-python/src/main/jython/gremlin_python/driver/client.py +++ b/gremlin-python/src/main/jython/gremlin_python/driver/client.py @@ -103,10 +103,10 @@ class Client: self._url, self._traversal_source, protocol, self._transport_factory, self._executor, self._pool) -def submit(self, message): -return self.submitAsync(message).result() +def submit(self, message, bindings=None): +return self.submitAsync(message, bindings=bindings).result() -def submitAsync(self, message): +def submitAsync(self, message, bindings=None): if isinstance(message, traversal.Bytecode): message = request.RequestMessage( processor='traversal', op='bytecode', @@ -117,5 +117,7 @@ class Client: processor='', op='eval', args={'gremlin': message, 'aliases': {'g': self._traversal_source}}) +if bindings: +message.args.update(bindings) conn = self._pool.get(True) return conn.write(message) http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b711b5e6/gremlin-python/src/main/jython/tests/driver/test_client.py -- diff --git a/gremlin-python/src/main/jython/tests/driver/test_client.py b/gremlin-python/src/main/jython/tests/driver/test_client.py index 02582a1..416caab 100644 --- a/gremlin-python/src/main/jython/tests/driver/test_client.py +++ b/gremlin-python/src/main/jython/tests/driver/test_client.py @@ -40,6 +40,10 @@ def test_client_simple_eval(client): assert client.submit('1 + 1').all().result()[0] == 2 +def test_client_simple_eval_bindings(client): +assert client.submit('x + x', {'x': 2}).all().result()[0] == 4 + + def test_client_eval_traversal(client): assert len(client.submit('g.V()').all().result()) == 6
[09/21] tinkerpop git commit: More javadocs in GraphTraversal for mean/min/max/order CTR
More javadocs in GraphTraversal for mean/min/max/order CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/14c7df95 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/14c7df95 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/14c7df95 Branch: refs/heads/TINKERPOP-1599 Commit: 14c7df95a4254625986837fbcf2842beaf415da3 Parents: 4215f3a Author: Stephen MalletteAuthored: Thu Feb 16 17:13:12 2017 -0500 Committer: Stephen Mallette Committed: Thu Feb 16 17:13:12 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 60 +++- 1 file changed, 58 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/14c7df95/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 1dcdd43..c5a65e0 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -444,6 +444,7 @@ public interface GraphTraversal extends Traversal{ * Order all the objects in the traversal up to this point and then emit them one-by-one in their ordered sequence. * * @return the traversal with an appended {@link OrderGlobalStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#order-step;>Reference Documentation - Order Step */ public default GraphTraversalorder() { this.asAdmin().getBytecode().addStep(Symbols.order); @@ -455,6 +456,7 @@ public interface GraphTraversalextends Traversal{ * * @param scope whether the ordering is the current local object or the entire global stream. * @return the traversal with an appended {@link OrderGlobalStep} or {@link OrderLocalStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#order-step;>Reference Documentation - Order Step */ public default GraphTraversalorder(final Scope scope) { this.asAdmin().getBytecode().addStep(Symbols.order, scope); @@ -677,60 +679,114 @@ public interface GraphTraversalextends Traversal{ } /** - * Map the traversal stream to its reduction as a sum of the {@link Traverser#bulk} values (i.e. count the number of traversers up to this point). + * Map the traversal stream to its reduction as a sum of the {@link Traverser#bulk} values (i.e. count the number + * of traversers up to this point). * * @return the traversal with an appended {@link CountGlobalStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#count-step;>Reference Documentation - Count Step */ public default GraphTraversalcount() { this.asAdmin().getBytecode().addStep(Symbols.count); return this.asAdmin().addStep(new CountGlobalStep<>(this.asAdmin())); } +/** + * Map the traversal stream to its reduction as a sum of the {@link Traverser#bulk} values given the specified + * {@link Scope} (i.e. count the number of traversers up to this point). + * + * @return the traversal with an appended {@link CountGlobalStep} or {@link CountLocalStep} depending on the {@link Scope} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#count-step;>Reference Documentation - Count Step + */ public default GraphTraversalcount(final Scope scope) { this.asAdmin().getBytecode().addStep(Symbols.count, scope); return this.asAdmin().addStep(scope.equals(Scope.global) ? new CountGlobalStep<>(this.asAdmin()) : new CountLocalStep<>(this.asAdmin())); } /** - * Map the traversal stream to its reduction as a sum of the {@link Traverser#get} values multiplied by their {@link Traverser#bulk} (i.e. sum the traverser values up to this point). + * Map the traversal stream to its reduction as a sum of the {@link Traverser#get} values multiplied by their + * {@link Traverser#bulk} (i.e. sum the traverser values up to this point). * * @return the traversal with an appended {@link SumGlobalStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#sum-step;>Reference Documentation - Sum Step */ public default GraphTraversalsum() {
[20/21] tinkerpop git commit: close client in documentation examples
close client in documentation examples Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/629b5c17 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/629b5c17 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/629b5c17 Branch: refs/heads/TINKERPOP-1599 Commit: 629b5c17a46f4eb828507eb5db8b8303af6aa49d Parents: af1c579 Author: davebshowAuthored: Fri Feb 17 11:34:56 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:42:24 2017 -0500 -- docs/src/reference/gremlin-applications.asciidoc | 3 +++ docs/src/upgrade/release-3.2.x-incubating.asciidoc | 1 + 2 files changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/629b5c17/docs/src/reference/gremlin-applications.asciidoc -- diff --git a/docs/src/reference/gremlin-applications.asciidoc b/docs/src/reference/gremlin-applications.asciidoc index ece0a82..8e0edc2 100644 --- a/docs/src/reference/gremlin-applications.asciidoc +++ b/docs/src/reference/gremlin-applications.asciidoc @@ -800,6 +800,8 @@ result_set = future_result_set.result() <6> result = result_set.one() <7> assert results == [1, 2, 3, 4] <8> assert result_set.done.done() <9> + +client.close() <10> <1> Submit a script that simply returns a `List` of integers. This method blocks until the request is written to @@ -814,6 +816,7 @@ returns a `concurrent.futures.Future` that resolves to a list when it is complet <7> Read a single result off the result stream. <8> Again, verify the result. <9> Verify that the all results have been read and stream is closed. +<10> Close client and underlying pool connections. Configuration ^ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/629b5c17/docs/src/upgrade/release-3.2.x-incubating.asciidoc -- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index 6bfc028..78c276b 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -55,6 +55,7 @@ result_set = client.submit('1 + 1') future_results = result_set.all() # returns a concurrent.futures.Future results = future_results.result() # returns a list assert results == [2] +client.close() # don't forget to close underlying connections See: link:https://issues.apache.org/jira/browse/TINKERPOP-1599[TINKERPOP-1599]
[13/21] tinkerpop git commit: make sure to close manually created (not fixture) remote connection
make sure to close manually created (not fixture) remote connection Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/b5069ffa Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/b5069ffa Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/b5069ffa Branch: refs/heads/TINKERPOP-1599 Commit: b5069ffab000fdb34f5fcb588c10452c6ea1a7bb Parents: aa848c1 Author: davebshowAuthored: Mon Jan 30 20:07:03 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:36:57 2017 -0500 -- .../tests/driver/test_driver_remote_connection_threaded.py | 6 ++ 1 file changed, 6 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b5069ffa/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection_threaded.py -- diff --git a/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection_threaded.py b/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection_threaded.py index d5efc0d..dffd442 100644 --- a/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection_threaded.py +++ b/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection_threaded.py @@ -54,7 +54,10 @@ def test_conn_in_threads(remote_connection): child2.join() def _executor(q, conn): +close = False if not conn: +# This isn't a fixture so close manually +close = True conn = DriverRemoteConnection( 'ws://localhost:45940/gremlin', 'g', pool_size=4) try: @@ -66,3 +69,6 @@ def _executor(q, conn): q.put(sys.exc_info()[0]) else: q.put('success!') +# Close conn +if close: +conn.close()
[05/21] tinkerpop git commit: Add javadoc for general steps on GraphTraversal CTR
Add javadoc for general steps on GraphTraversal CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a30dabc7 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a30dabc7 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a30dabc7 Branch: refs/heads/TINKERPOP-1599 Commit: a30dabc7c5eb93e644c3f706a2f33786a156a465 Parents: 7d173c8 Author: Stephen MalletteAuthored: Thu Feb 16 16:10:43 2017 -0500 Committer: Stephen Mallette Committed: Thu Feb 16 16:10:43 2017 -0500 -- .../traversal/dsl/graph/GraphTraversal.java | 56 +++- 1 file changed, 55 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a30dabc7/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 2e5858a..b00293d 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -187,16 +187,24 @@ public interface GraphTraversal extends Traversal{ / MAP STEPS / /** - * Map a traverser referencing an object of type E to an object of type E2. + * Map a {@link Traverser} referencing an object of type E to an object of type E2. * * @param function the lambda expression that does the functional mapping * @return the traversal with an appended {@link LambdaMapStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps */ public default GraphTraversalmap(final Functionfunction) { this.asAdmin().getBytecode().addStep(Symbols.map, function); return this.asAdmin().addStep(new LambdaMapStep<>(this.asAdmin(), function)); } +/** + * Map a {@link Traverser} referencing an object of type E to an object of type E2. + * + * @param mapTraversal the traversal expression that does the functional mapping + * @return the traversal with an appended {@link LambdaMapStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + */ public default GraphTraversal map(final Traversal mapTraversal) { this.asAdmin().getBytecode().addStep(Symbols.map, mapTraversal); return this.asAdmin().addStep(new TraversalMapStep<>(this.asAdmin(), mapTraversal)); @@ -209,6 +217,7 @@ public interface GraphTraversalextends Traversal{ * @param function the lambda expression that does the functional mapping * @param the type of the returned iterator objects * @return the traversal with an appended {@link LambdaFlatMapStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps */ public default GraphTraversalflatMap(final Functionfunction) { this.asAdmin().getBytecode().addStep(Symbols.flatMap, function); @@ -222,6 +231,7 @@ public interface GraphTraversal extends Traversal{ * @param flatMapTraversal the traversal generating objects of type E2 * @param the end type of the internal traversal * @return the traversal with an appended {@link TraversalFlatMapStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps */ public default GraphTraversalflatMap(final Traversal flatMapTraversal) { this.asAdmin().getBytecode().addStep(Symbols.flatMap, flatMapTraversal); @@ -839,11 +849,27 @@ public interface GraphTraversalextends Traversal{ / FILTER STEPS / +/** + * Map the {@link Traverser} to either {@code true} or {@code false}, where {@code false} will not pass the + * traverser to the next step. + * + * @param predicate the filter function to apply + * @return the traversal with the {@link LambdaFilterStep} added + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#general-steps;>Reference Documentation - General Steps + */ public default GraphTraversal
[14/21] tinkerpop git commit: fixtures should test for subclasses of OSError (ConnectionError, ConnectionRefusedError etc.)
fixtures should test for subclasses of OSError (ConnectionError, ConnectionRefusedError etc.) Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/949ed56e Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/949ed56e Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/949ed56e Branch: refs/heads/TINKERPOP-1599 Commit: 949ed56ee91e1fd6af38ea45f9702f6fb8883ad2 Parents: b5069ff Author: davebshowAuthored: Tue Jan 31 10:43:59 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:36:57 2017 -0500 -- gremlin-python/src/main/jython/tests/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/949ed56e/gremlin-python/src/main/jython/tests/conftest.py -- diff --git a/gremlin-python/src/main/jython/tests/conftest.py b/gremlin-python/src/main/jython/tests/conftest.py index 49779ac..3425266 100644 --- a/gremlin-python/src/main/jython/tests/conftest.py +++ b/gremlin-python/src/main/jython/tests/conftest.py @@ -38,7 +38,7 @@ def connection(request): try: conn = Connection('ws://localhost:45940/gremlin', 'g', protocol, lambda: TornadoTransport(), executor, pool) -except: +except OSError: executor.shutdown() pytest.skip('Gremlin Server is not running') else: @@ -52,7 +52,7 @@ def connection(request): def client(request): try: client = Client('ws://localhost:45940/gremlin', 'g') -except: +except OSError: pytest.skip('Gremlin Server is not running') else: def fin(): @@ -64,7 +64,7 @@ def client(request): def remote_connection(request): try: remote_conn = DriverRemoteConnection('ws://localhost:45940/gremlin', 'g') -except: +except OSError: pytest.skip('Gremlin Server is not running') else: def fin():
[19/21] tinkerpop git commit: added code for new driver, updated driver tests
added code for new driver, updated driver tests Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1d203b74 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1d203b74 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1d203b74 Branch: refs/heads/TINKERPOP-1599 Commit: 1d203b7494432a5296e04581c9903f138753e964 Parents: 0a08bf9 Author: davebshowAuthored: Mon Jan 30 17:22:36 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:36:57 2017 -0500 -- gremlin-python/pom.xml | 1 + .../python/TraversalSourceGenerator.groovy | 11 +- .../main/jython/gremlin_python/driver/client.py | 114 .../jython/gremlin_python/driver/connection.py | 78 ++ .../driver/driver_remote_connection.py | 260 +++ .../jython/gremlin_python/driver/protocol.py| 103 .../gremlin_python/driver/remote_connection.py | 98 --- .../jython/gremlin_python/driver/request.py | 25 ++ .../jython/gremlin_python/driver/resultset.py | 91 +++ .../jython/gremlin_python/driver/serializer.py | 117 + .../gremlin_python/driver/tornado/__init__.py | 18 ++ .../gremlin_python/driver/tornado/transport.py | 48 .../jython/gremlin_python/driver/transport.py | 46 .../jython/gremlin_python/process/traversal.py | 11 +- gremlin-python/src/main/jython/setup.py | 18 +- .../src/main/jython/tests/conftest.py | 72 + .../src/main/jython/tests/driver/test_client.py | 98 +++ .../driver/test_driver_remote_connection.py | 150 --- .../test_driver_remote_connection_threaded.py | 77 +++--- .../jython/tests/structure/io/test_graphson.py | 21 +- 20 files changed, 1039 insertions(+), 418 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1d203b74/gremlin-python/pom.xml -- diff --git a/gremlin-python/pom.xml b/gremlin-python/pom.xml index c9d6c65..2b4a80e 100644 --- a/gremlin-python/pom.xml +++ b/gremlin-python/pom.xml @@ -314,6 +314,7 @@ aenum==1.4.5 tornado==4.4.1 six==1.10.0 +futures==3.0.5 http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1d203b74/gremlin-python/src/main/groovy/org/apache/tinkerpop/gremlin/python/TraversalSourceGenerator.groovy -- diff --git a/gremlin-python/src/main/groovy/org/apache/tinkerpop/gremlin/python/TraversalSourceGenerator.groovy b/gremlin-python/src/main/groovy/org/apache/tinkerpop/gremlin/python/TraversalSourceGenerator.groovy index fc76b71..995fe80 100644 --- a/gremlin-python/src/main/groovy/org/apache/tinkerpop/gremlin/python/TraversalSourceGenerator.groovy +++ b/gremlin-python/src/main/groovy/org/apache/tinkerpop/gremlin/python/TraversalSourceGenerator.groovy @@ -116,15 +116,16 @@ class Traversal(object): return tempList def promise(self, cb=None): self.traversal_strategies.apply_async_strategies(self) -future_traversers = self.traversers -future = type(future_traversers)() +future_traversal = self.remote_results +future = type(future_traversal)() def process(f): try: -traversers = f.result() +traversal = f.result() except Exception as e: future.set_exception(e) else: -self.traversers = iter(traversers) +self.traversers = iter(traversal.traversers) +self.side_effects = traversal.side_effects if cb: try: result = cb(self) @@ -134,7 +135,7 @@ class Traversal(object): future.set_result(result) else: future.set_result(self) -future_traversers.add_done_callback(process) +future_traversal.add_done_callback(process) return future http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1d203b74/gremlin-python/src/main/jython/gremlin_python/driver/client.py -- diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/client.py b/gremlin-python/src/main/jython/gremlin_python/driver/client.py new file mode 100644 index 000..dec39bf --- /dev/null +++ b/gremlin-python/src/main/jython/gremlin_python/driver/client.py @@ -0,0 +1,114 @@ +"""
[03/21] tinkerpop git commit: Merge branch 'TINKERPOP-1627' into tp32
Merge branch 'TINKERPOP-1627' into tp32 Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/b717615d Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/b717615d Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/b717615d Branch: refs/heads/TINKERPOP-1599 Commit: b717615dfe6176413f223316f925c975d81ba1c1 Parents: 4a328b9 b635c80 Author: Marko A. RodriguezAuthored: Thu Feb 16 11:09:32 2017 -0700 Committer: Marko A. Rodriguez Committed: Thu Feb 16 11:09:32 2017 -0700 -- CHANGELOG.asciidoc | 3 ++- .../upgrade/release-3.2.x-incubating.asciidoc | 26 .../strategy/decoration/RemoteStrategy.java | 1 - .../optimization/LazyBarrierStrategy.java | 2 +- .../optimization/LazyBarrierStrategyTest.java | 19 +++--- .../gremlin/server/util/TraverserIterator.java | 21 +--- .../Neo4jGraphStepStrategyTest.java | 2 +- .../TinkerGraphStepStrategyTest.java| 2 +- 8 files changed, 58 insertions(+), 18 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/b717615d/CHANGELOG.asciidoc -- diff --cc CHANGELOG.asciidoc index e3c78f9,30fb41e..de78d24 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@@ -26,8 -26,8 +26,9 @@@ image::https://raw.githubusercontent.co TinkerPop 3.2.5 (Release Date: NOT OFFICIALLY RELEASED YET) ~~~ +* Refactor `SparkContext` handler to support external kill and stop operations. - + * Fixed an optimization bug in `LazyBarrierStrategy` around appending barriers to the end of a `Traversal`. + * `TraverserIterator` in GremlinServer is smart to try and bulk traversers prior to network I/O. [[release-3-2-4]] TinkerPop 3.2.4 (Release Date: February 8, 2017)
tinkerpop git commit: close client in documentation examples
Repository: tinkerpop Updated Branches: refs/heads/TINKERPOP-1599 44a20fdcf -> 7ca1c4de9 close client in documentation examples Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7ca1c4de Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7ca1c4de Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7ca1c4de Branch: refs/heads/TINKERPOP-1599 Commit: 7ca1c4de959410e873fb90b29793a051ba730d37 Parents: 44a20fd Author: davebshowAuthored: Fri Feb 17 11:34:56 2017 -0500 Committer: davebshow Committed: Fri Feb 17 11:34:56 2017 -0500 -- docs/src/reference/gremlin-applications.asciidoc | 3 +++ docs/src/upgrade/release-3.2.x-incubating.asciidoc | 1 + 2 files changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7ca1c4de/docs/src/reference/gremlin-applications.asciidoc -- diff --git a/docs/src/reference/gremlin-applications.asciidoc b/docs/src/reference/gremlin-applications.asciidoc index ece0a82..8e0edc2 100644 --- a/docs/src/reference/gremlin-applications.asciidoc +++ b/docs/src/reference/gremlin-applications.asciidoc @@ -800,6 +800,8 @@ result_set = future_result_set.result() <6> result = result_set.one() <7> assert results == [1, 2, 3, 4] <8> assert result_set.done.done() <9> + +client.close() <10> <1> Submit a script that simply returns a `List` of integers. This method blocks until the request is written to @@ -814,6 +816,7 @@ returns a `concurrent.futures.Future` that resolves to a list when it is complet <7> Read a single result off the result stream. <8> Again, verify the result. <9> Verify that the all results have been read and stream is closed. +<10> Close client and underlying pool connections. Configuration ^ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7ca1c4de/docs/src/upgrade/release-3.2.x-incubating.asciidoc -- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index c3c43e8..7b1e8d8 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -53,6 +53,7 @@ result_set = client.submit('1 + 1') future_results = result_set.all() # returns a concurrent.futures.Future results = future_results.result() # returns a list assert results == [2] +client.close() # don't forget to close underlying connections See: link:https://issues.apache.org/jira/browse/TINKERPOP-1599[TINKERPOP-1599]
[1/3] tinkerpop git commit: More javadocs/reference docs for GraphTraversal steps
Repository: tinkerpop Updated Branches: refs/heads/tp32 14c7df95a -> 0a08bf929 More javadocs/reference docs for GraphTraversal steps Covered properties/values/valueMap/propertyMap CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/f45d793f Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/f45d793f Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/f45d793f Branch: refs/heads/tp32 Commit: f45d793f23cc5dd90f5d27c68523606559713306 Parents: 14c7df9 Author: Stephen MalletteAuthored: Fri Feb 17 09:19:06 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 09:19:06 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 40 .../traversal/dsl/graph/GraphTraversal.java | 12 ++ 2 files changed, 52 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f45d793f/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index b41cf4a..71a35c2 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -1625,6 +1625,33 @@ g.V().hasLabel('person'). valueMap('name', 'rank') +[properties-step]] +Properties Step +~~~ + +The `properties()`-step (*map*) extracts properties from an `Element` in the traversal stream. + +[gremlin-groovy,theCrew] + +g.V(1).properties() +g.V(1).properties('location').valueMap() +g.V(1).properties('location').has('endTime').valueMap() + + +[[propertymap-step]] +PropertyMap Step +~ + +The `propertiesMap()`-step yields a Map representation of the properties of an element. + +[gremlin-groovy,modern] + +g.V().propertyMap() +g.V().propertyMap('age') +g.V().propertyMap('age','blah') +g.E().propertyMap() + + [[range-step]] Range Step ~~ @@ -2221,6 +2248,19 @@ g.V().hasLabel('person').valueMap(true,'name') g.V().hasLabel('person').properties('location').valueMap(true) +[values-step]] +Values Step +~~~ + +The `values()`-step (*map*) extracts the values of properties from an `Element` in the traversal stream. + +[gremlin-groovy,theCrew] + +g.V(1).values() +g.V(1).values('location') +g.V(1).properties('location').values() + + [[vertex-steps]] Vertex Steps http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f45d793f/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index c5a65e0..d37bff6 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -281,6 +281,13 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new ConstantStep(this.asAdmin(), e)); } +/** + * A {@code V} step is usually used to start a traversal but it may also be used mid-traversal. + * + * @param vertexIdsOrElements vertices to inject into the traversal + * @return the traversal with an appended {@link GraphStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#graph-step;>Reference Documentation - Graph Step + */ public default GraphTraversal V(final Object... vertexIdsOrElements) { this.asAdmin().getBytecode().addStep(Symbols.V, vertexIdsOrElements); return this.asAdmin().addStep(new GraphStep<>(this.asAdmin(), Vertex.class, false, vertexIdsOrElements)); @@ -470,6 +477,7 @@ public interface GraphTraversalextends Traversal{ * @param propertyKeys the properties to retrieve * @param the value type of the returned properties * @return the traversal with an appended {@link PropertiesStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#properties-step;>Reference Documentation - Properties Step */ public default GraphTraversalproperties(final String... propertyKeys) { this.asAdmin().getBytecode().addStep(Symbols.properties, propertyKeys); @@ -483,6 +491,7 @@ public interface GraphTraversalextends Traversal{ * @param propertyKeys the properties to retrieve their value from * @param
[2/3] tinkerpop git commit: Added javadoc/reference docs for key/value and javadoc on select CTR
Added javadoc/reference docs for key/value and javadoc on select CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/123abf9d Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/123abf9d Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/123abf9d Branch: refs/heads/tp32 Commit: 123abf9d1b5e48eba64c47203114d2c79b3732bf Parents: f45d793 Author: Stephen MalletteAuthored: Fri Feb 17 09:39:18 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 09:39:18 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 24 .../traversal/dsl/graph/GraphTraversal.java | 9 2 files changed, 33 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/123abf9d/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index 71a35c2..2002028 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -882,6 +882,18 @@ g.V(1).outE().label() g.V(1).properties().label() +[[key-step]] +Key Step + + +The `key()`-step (*map*) takes a `Property` and extracts the key from it. + +[gremlin-groovy,theCrew] + +g.V(1).properties().key() +g.V(1).properties().properties().key() + + [[limit-step]] Limit Step ~~ @@ -2212,6 +2224,18 @@ g.V(4).union( out().values('lang')).path() +[[value-step]] +Value Step +~~ + +The `value()`-step (*map*) takes a `Property` and extracts the value from it. + +[gremlin-groovy,theCrew] + +g.V(1).properties().value() +g.V(1).properties().properties().value() + + [[valuemap-step]] ValueMap Step ~ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/123abf9d/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index d37bff6..0c04e83 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -541,6 +541,13 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new PropertyMapStep<>(this.asAdmin(), includeTokens, PropertyType.VALUE, propertyKeys)); } +/** + * A version of {@code select} that allows for the extraction of a {@link Column} from objects in the traversal. + * + * @param column the column to extract + * @return the traversal with an appended {@link TraversalMapStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step + */ public default GraphTraversalselect(final Column column) { this.asAdmin().getBytecode().addStep(Symbols.select, column); return this.asAdmin().addStep(new TraversalMapStep<>(this.asAdmin(), new ColumnTraversal(column))); @@ -566,6 +573,7 @@ public interface GraphTraversalextends Traversal{ * Map the {@link Property} to its {@link Property#key}. * * @return the traversal with an appended {@link PropertyKeyStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#key-step;>Reference Documentation - Key Step */ public default GraphTraversalkey() { this.asAdmin().getBytecode().addStep(Symbols.key); @@ -576,6 +584,7 @@ public interface GraphTraversalextends Traversal{ * Map the {@link Property} to its {@link Property#value}. * * @return the traversal with an appended {@link PropertyValueStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#value-step;>Reference Documentation - Value Step */ public default GraphTraversalvalue() { this.asAdmin().getBytecode().addStep(Symbols.value);
[1/4] tinkerpop git commit: More javadocs/reference docs for GraphTraversal steps
Repository: tinkerpop Updated Branches: refs/heads/master 24d8422ee -> c28d1247f More javadocs/reference docs for GraphTraversal steps Covered properties/values/valueMap/propertyMap CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/f45d793f Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/f45d793f Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/f45d793f Branch: refs/heads/master Commit: f45d793f23cc5dd90f5d27c68523606559713306 Parents: 14c7df9 Author: Stephen MalletteAuthored: Fri Feb 17 09:19:06 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 09:19:06 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 40 .../traversal/dsl/graph/GraphTraversal.java | 12 ++ 2 files changed, 52 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f45d793f/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index b41cf4a..71a35c2 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -1625,6 +1625,33 @@ g.V().hasLabel('person'). valueMap('name', 'rank') +[properties-step]] +Properties Step +~~~ + +The `properties()`-step (*map*) extracts properties from an `Element` in the traversal stream. + +[gremlin-groovy,theCrew] + +g.V(1).properties() +g.V(1).properties('location').valueMap() +g.V(1).properties('location').has('endTime').valueMap() + + +[[propertymap-step]] +PropertyMap Step +~ + +The `propertiesMap()`-step yields a Map representation of the properties of an element. + +[gremlin-groovy,modern] + +g.V().propertyMap() +g.V().propertyMap('age') +g.V().propertyMap('age','blah') +g.E().propertyMap() + + [[range-step]] Range Step ~~ @@ -2221,6 +2248,19 @@ g.V().hasLabel('person').valueMap(true,'name') g.V().hasLabel('person').properties('location').valueMap(true) +[values-step]] +Values Step +~~~ + +The `values()`-step (*map*) extracts the values of properties from an `Element` in the traversal stream. + +[gremlin-groovy,theCrew] + +g.V(1).values() +g.V(1).values('location') +g.V(1).properties('location').values() + + [[vertex-steps]] Vertex Steps http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f45d793f/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index c5a65e0..d37bff6 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -281,6 +281,13 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new ConstantStep(this.asAdmin(), e)); } +/** + * A {@code V} step is usually used to start a traversal but it may also be used mid-traversal. + * + * @param vertexIdsOrElements vertices to inject into the traversal + * @return the traversal with an appended {@link GraphStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#graph-step;>Reference Documentation - Graph Step + */ public default GraphTraversal V(final Object... vertexIdsOrElements) { this.asAdmin().getBytecode().addStep(Symbols.V, vertexIdsOrElements); return this.asAdmin().addStep(new GraphStep<>(this.asAdmin(), Vertex.class, false, vertexIdsOrElements)); @@ -470,6 +477,7 @@ public interface GraphTraversalextends Traversal{ * @param propertyKeys the properties to retrieve * @param the value type of the returned properties * @return the traversal with an appended {@link PropertiesStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#properties-step;>Reference Documentation - Properties Step */ public default GraphTraversalproperties(final String... propertyKeys) { this.asAdmin().getBytecode().addStep(Symbols.properties, propertyKeys); @@ -483,6 +491,7 @@ public interface GraphTraversalextends Traversal{ * @param propertyKeys the properties to retrieve their value from *
[3/3] tinkerpop git commit: Added tests around use of Pop in select()
Added tests around use of Pop in select() Added more javadoc and reference docs CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0a08bf92 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0a08bf92 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0a08bf92 Branch: refs/heads/tp32 Commit: 0a08bf929fdad19cbef4b21e993ce041254d8589 Parents: 123abf9 Author: Stephen MalletteAuthored: Fri Feb 17 11:27:09 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 11:27:09 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 9 +++ .../traversal/dsl/graph/GraphTraversal.java | 22 +++ .../traversal/step/map/GroovySelectTest.groovy | 10 +++ .../process/traversal/step/map/SelectTest.java | 28 4 files changed, 69 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0a08bf92/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index 2002028..8ba51df 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -1960,6 +1960,15 @@ g.V().hasLabel('song').out('sungBy').groupCount().by('name').select(values).unfo WARNING: Note that `by()`-modulation is not supported with `select(keys)` and `select(values)`. +There is also an option to supply a `Pop` operation to `select()` to manipulate `List` objects in the `Traverser`: + +[gremlin-groovy,modern] + +g.V(1).as("a").repeat(out().as("a")).times(2).select(first, "a") +g.V(1).as("a").repeat(out().as("a")).times(2).select(last, "a") +g.V(1).as("a").repeat(out().as("a")).times(2).select(all, "a") + + [[using-where-with-select]] Using Where with Select ^^^ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0a08bf92/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 0c04e83..095391d 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -595,6 +595,7 @@ public interface GraphTraversal extends Traversal{ * Map the {@link Traverser} to its {@link Path} history via {@link Traverser#path}. * * @return the traversal with an appended {@link PathStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#path-step;>Reference Documentation - Path Step */ public default GraphTraversalpath() { this.asAdmin().getBytecode().addStep(Symbols.path); @@ -607,6 +608,7 @@ public interface GraphTraversalextends Traversal{ * @param matchTraversals the traversal that maintain variables which must hold for the life of the traverser * @param the type of the obejcts bound in the variables * @return the traversal with an appended {@link MatchStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#match-step;>Reference Documentation - Match Step */ public default GraphTraversal> match(final Traversal... matchTraversals) { this.asAdmin().getBytecode().addStep(Symbols.match, matchTraversals); @@ -618,6 +620,7 @@ public interface GraphTraversalextends Traversal{ * * @param the sack value type * @return the traversal with an appended {@link SackStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#sack-step;>Reference Documentation - Sack Step */ public default GraphTraversalsack() { this.asAdmin().getBytecode().addStep(Symbols.sack); @@ -646,6 +649,7 @@ public interface GraphTraversalextends Traversal{ * @param otherSelectKeys the third+ keys to project * @param the type of the objects projected * @return the traversal with an appended {@link SelectStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step */ public default GraphTraversal> select(final Pop pop, final String selectKey1, final String selectKey2, String... otherSelectKeys) {
[4/4] tinkerpop git commit: Merge branch 'tp32'
Merge branch 'tp32' Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/c28d1247 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c28d1247 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c28d1247 Branch: refs/heads/master Commit: c28d1247f0df0d3193d8a07cfdb34b6f3f78e2b7 Parents: 24d8422 0a08bf9 Author: Stephen MalletteAuthored: Fri Feb 17 11:28:22 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 11:28:22 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 73 .../traversal/dsl/graph/GraphTraversal.java | 43 .../traversal/step/map/GroovySelectTest.groovy | 10 +++ .../process/traversal/step/map/SelectTest.java | 28 4 files changed, 154 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c28d1247/docs/src/reference/the-traversal.asciidoc -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c28d1247/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --cc gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 5e0149e,095391d..80d182e --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@@ -524,8 -534,9 +535,9 @@@ public interface GraphTraversal e * @param propertyKeys the properties to retrieve * @param the value type of the returned properties * @return the traversal with an appended {@link PropertyMapStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#valuemap-step;>Reference Documentation - ValueMap Step */ -public default GraphTraversal> valueMap(final boolean includeTokens, final String... propertyKeys) { +public default GraphTraversal> valueMap(final boolean includeTokens, final String... propertyKeys) { this.asAdmin().getBytecode().addStep(Symbols.valueMap, includeTokens, propertyKeys); return this.asAdmin().addStep(new PropertyMapStep<>(this.asAdmin(), includeTokens, PropertyType.VALUE, propertyKeys)); } @@@ -651,42 -676,36 +677,59 @@@ selectKeys[1] = selectKey2; System.arraycopy(otherSelectKeys, 0, selectKeys, 2, otherSelectKeys.length); this.asAdmin().getBytecode().addStep(Symbols.select, selectKey1, selectKey2, otherSelectKeys); -return this.asAdmin().addStep(new SelectStep<>(this.asAdmin(), null, selectKeys)); +return this.asAdmin().addStep(new SelectStep<>(this.asAdmin(), Pop.last, selectKeys)); } + /** + * Map the {@link Traverser} to the object specified by the {@code selectKey} and apply the {@link Pop} operation + * to it. + * + * @param selectKey the key to project + * @return the traversal with an appended {@link SelectStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step + */ public default GraphTraversalselect(final Pop pop, final String selectKey) { this.asAdmin().getBytecode().addStep(Symbols.select, pop, selectKey); return this.asAdmin().addStep(new SelectOneStep<>(this.asAdmin(), pop, selectKey)); } + /** + * Map the {@link Traverser} to the object specified by the {@code selectKey}. Note that unlike other uses of + * {@code select} where there are multiple keys, this use of {@code select} with a single key does not produce a + * {@code Map}. + * + * @param selectKey the key to project + * @return the traversal with an appended {@link SelectStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step + */ public default GraphTraversalselect(final String selectKey) { this.asAdmin().getBytecode().addStep(Symbols.select, selectKey); -return this.asAdmin().addStep(new SelectOneStep<>(this.asAdmin(), null, selectKey)); +return this.asAdmin().addStep(new SelectOneStep<>(this.asAdmin(), Pop.last, selectKey)); } +/** + * @deprecated As of release 3.3.0, replaced by {@link GraphTraversal#select(Pop, String)} with {@link Pop#mixed}. + */ +@Deprecated +public default GraphTraversalselectV3d2(final String selectKey) { +
[3/4] tinkerpop git commit: Added tests around use of Pop in select()
Added tests around use of Pop in select() Added more javadoc and reference docs CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0a08bf92 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0a08bf92 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0a08bf92 Branch: refs/heads/master Commit: 0a08bf929fdad19cbef4b21e993ce041254d8589 Parents: 123abf9 Author: Stephen MalletteAuthored: Fri Feb 17 11:27:09 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 11:27:09 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 9 +++ .../traversal/dsl/graph/GraphTraversal.java | 22 +++ .../traversal/step/map/GroovySelectTest.groovy | 10 +++ .../process/traversal/step/map/SelectTest.java | 28 4 files changed, 69 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0a08bf92/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index 2002028..8ba51df 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -1960,6 +1960,15 @@ g.V().hasLabel('song').out('sungBy').groupCount().by('name').select(values).unfo WARNING: Note that `by()`-modulation is not supported with `select(keys)` and `select(values)`. +There is also an option to supply a `Pop` operation to `select()` to manipulate `List` objects in the `Traverser`: + +[gremlin-groovy,modern] + +g.V(1).as("a").repeat(out().as("a")).times(2).select(first, "a") +g.V(1).as("a").repeat(out().as("a")).times(2).select(last, "a") +g.V(1).as("a").repeat(out().as("a")).times(2).select(all, "a") + + [[using-where-with-select]] Using Where with Select ^^^ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0a08bf92/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index 0c04e83..095391d 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -595,6 +595,7 @@ public interface GraphTraversal extends Traversal{ * Map the {@link Traverser} to its {@link Path} history via {@link Traverser#path}. * * @return the traversal with an appended {@link PathStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#path-step;>Reference Documentation - Path Step */ public default GraphTraversalpath() { this.asAdmin().getBytecode().addStep(Symbols.path); @@ -607,6 +608,7 @@ public interface GraphTraversalextends Traversal{ * @param matchTraversals the traversal that maintain variables which must hold for the life of the traverser * @param the type of the obejcts bound in the variables * @return the traversal with an appended {@link MatchStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#match-step;>Reference Documentation - Match Step */ public default GraphTraversal> match(final Traversal... matchTraversals) { this.asAdmin().getBytecode().addStep(Symbols.match, matchTraversals); @@ -618,6 +620,7 @@ public interface GraphTraversalextends Traversal{ * * @param the sack value type * @return the traversal with an appended {@link SackStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#sack-step;>Reference Documentation - Sack Step */ public default GraphTraversalsack() { this.asAdmin().getBytecode().addStep(Symbols.sack); @@ -646,6 +649,7 @@ public interface GraphTraversalextends Traversal{ * @param otherSelectKeys the third+ keys to project * @param the type of the objects projected * @return the traversal with an appended {@link SelectStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step */ public default GraphTraversal> select(final Pop pop, final String selectKey1, final String selectKey2, String... otherSelectKeys)
[2/4] tinkerpop git commit: Added javadoc/reference docs for key/value and javadoc on select CTR
Added javadoc/reference docs for key/value and javadoc on select CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/123abf9d Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/123abf9d Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/123abf9d Branch: refs/heads/master Commit: 123abf9d1b5e48eba64c47203114d2c79b3732bf Parents: f45d793 Author: Stephen MalletteAuthored: Fri Feb 17 09:39:18 2017 -0500 Committer: Stephen Mallette Committed: Fri Feb 17 09:39:18 2017 -0500 -- docs/src/reference/the-traversal.asciidoc | 24 .../traversal/dsl/graph/GraphTraversal.java | 9 2 files changed, 33 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/123abf9d/docs/src/reference/the-traversal.asciidoc -- diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc index 71a35c2..2002028 100644 --- a/docs/src/reference/the-traversal.asciidoc +++ b/docs/src/reference/the-traversal.asciidoc @@ -882,6 +882,18 @@ g.V(1).outE().label() g.V(1).properties().label() +[[key-step]] +Key Step + + +The `key()`-step (*map*) takes a `Property` and extracts the key from it. + +[gremlin-groovy,theCrew] + +g.V(1).properties().key() +g.V(1).properties().properties().key() + + [[limit-step]] Limit Step ~~ @@ -2212,6 +2224,18 @@ g.V(4).union( out().values('lang')).path() +[[value-step]] +Value Step +~~ + +The `value()`-step (*map*) takes a `Property` and extracts the value from it. + +[gremlin-groovy,theCrew] + +g.V(1).properties().value() +g.V(1).properties().properties().value() + + [[valuemap-step]] ValueMap Step ~ http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/123abf9d/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java -- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java index d37bff6..0c04e83 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java @@ -541,6 +541,13 @@ public interface GraphTraversal extends Traversal{ return this.asAdmin().addStep(new PropertyMapStep<>(this.asAdmin(), includeTokens, PropertyType.VALUE, propertyKeys)); } +/** + * A version of {@code select} that allows for the extraction of a {@link Column} from objects in the traversal. + * + * @param column the column to extract + * @return the traversal with an appended {@link TraversalMapStep} + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#select-step;>Reference Documentation - Select Step + */ public default GraphTraversalselect(final Column column) { this.asAdmin().getBytecode().addStep(Symbols.select, column); return this.asAdmin().addStep(new TraversalMapStep<>(this.asAdmin(), new ColumnTraversal(column))); @@ -566,6 +573,7 @@ public interface GraphTraversalextends Traversal{ * Map the {@link Property} to its {@link Property#key}. * * @return the traversal with an appended {@link PropertyKeyStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#key-step;>Reference Documentation - Key Step */ public default GraphTraversalkey() { this.asAdmin().getBytecode().addStep(Symbols.key); @@ -576,6 +584,7 @@ public interface GraphTraversalextends Traversal{ * Map the {@link Property} to its {@link Property#value}. * * @return the traversal with an appended {@link PropertyValueStep}. + * @see http://tinkerpop.apache.org/docs/${project.version}/reference/#value-step;>Reference Documentation - Value Step */ public default GraphTraversalvalue() { this.asAdmin().getBytecode().addStep(Symbols.value);