[ https://issues.apache.org/jira/browse/TINKERPOP-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette updated TINKERPOP-1403: ---------------------------------------- Fix Version/s: (was: 3.3.0) 3.3.1 > Provide support for GraphFilter.vertexProperties() > -------------------------------------------------- > > Key: TINKERPOP-1403 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1403 > Project: TinkerPop > Issue Type: Improvement > Components: process, structure > Affects Versions: 3.2.1 > Reporter: Marko A. Rodriguez > Labels: breaking > Fix For: 3.3.1 > > > [~rspitzer] stated that he is working with a graph that has millions of > vertex properties on a vertex. If those properties are not needed for the > traversal, then they should be filtered out. > Much like {{GraphFilter.edges()}}, we should add > {{GraphFilter.vertexProperties(Traversal<Vertex,VertexProperty>)}}. That is, > from the {{Vertex}} in question, traverse to those properties needed in the > computation, where {{properties().limit(0)}} would be the push down predicate > for "no properties." Another example, {{properties("income")}} would only > provide income properties. Another example, > {{properties("income").has("acl","public")}} would provide only those income > properties that are public (according to access control). > --- SIDENOTE. In the docs we have {{bothE().limit(0)}} as the predicate for > no edges. However, {{limit(0)}} by itself is sufficient. Likewise for > {{GraphFilter.vertexProperties()}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029)