You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2016/06/07 14:16:21 UTC

[jira] [Closed] (TINKERPOP-1293) Implement GraphFilterStrategy as a default registration for GraphComputer

     [ https://issues.apache.org/jira/browse/TINKERPOP-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stephen mallette closed TINKERPOP-1293.
---------------------------------------
    Resolution: Done

This was merged a while back but never closed (guess the automation didn't work right)

> Implement GraphFilterStrategy as a default registration for GraphComputer
> -------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1293
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1293
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.2.1
>
>
> {{GraphFilterStrategy}} would be a {{TraversalStrategy}} for {{GraphComputers}}. It will inspect the {{Traversal}} and decide the {{computer.vertices(...).edges(...)}} to use.
> Some rules:
> 1. If the traversal is part of an OLAP chain, don't apply strategy.
> 2. If the traversal is persist edges, then don't {{edges(...)}} or {{vertices(...)}}.
> 3. If the traversal is persist vertex properties, then don't do {{vertices(...)}}.
> Shouldn't be too difficult. Basically looking for:
> 1. {{VertexStep}} labels for edges.
> 2. {{HasStep}} containers for vertices and edges.
> From there, we can get fancy with {{outE().has("stars",gt(4))}}-style {{edges(...)}}. However, basic element-label based filtering should be easy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)