Skip to content

Commit de52226

Browse files
committed
Merge branch '3.6-dev'
2 parents eeaf6b1 + fb01b1b commit de52226

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
427427
* Removed `jcabi-manifests` dependency from `gremlin-core`, `gremlin-driver`, and `gremlin-server`.
428428
* Fixed a bug that caused the `GremlinGroovyScriptEngine` to throw a `MissingMethodException` when calling a static method in __ with the same name as an enum.
429429
* Deprecated Neo4j-Gremlin
430+
* Added `VertexPropertyFilter` to `GraphComputer`
430431
431432
[[release-3-5-6]]
432433
=== TinkerPop 3.5.6 (Release Date: May 1, 2023)

docs/src/reference/the-graphcomputer.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,14 +589,16 @@ Most OLAP jobs do not require the entire source graph to faithfully execute thei
589589
----
590590
graph.computer().
591591
vertices(hasLabel("person")).
592+
vertexProperties(__.properties("name")).
592593
edges(bothE("knows")).
593594
program(PageRankVertexProgram...)
594595
----
595596
596-
There are two methods for constructing a `GraphFilter`.
597+
There are three methods for constructing a `GraphFilter`.
597598
598599
* `vertices(Traversal<Vertex,Vertex>)`: A traversal that will be used that can only analyze a vertex and its properties.
599600
If the traversal `hasNext()`, the input `Vertex` is passed to the `GraphComputer`.
601+
* `vertexProperties(Traversal<Vertex, ? extends Property<?>)`: A traversal that will either let the vertex property pass or not.
600602
* `edges(Traversal<Vertex,Edge>)`: A traversal that will iterate all legal edges for the source vertex.
601603
602604
`GraphFilter` is a "push-down predicate" that providers can reason on to determine the most efficient way to provide

0 commit comments

Comments
 (0)