Marko A. Rodriguez created TINKERPOP-1540:
---------------------------------------------
Summary: Create a set of marker interfaces that define step
behavior
Key: TINKERPOP-1540
URL: https://issues.apache.org/jira/browse/TINKERPOP-1540
Project: TinkerPop
Issue Type: Improvement
Components: process
Affects Versions: 3.2.3
Reporter: Marko A. Rodriguez
We have steps like {{SideEffectStep}}, {{MapStep}}, {{FlatMapStep}}, etc., but
unfortunately, these are classes and not all side-effect, map, flatmap, etc.
behaving steps extend them. As such, if you have strategies that need to reason
on step behavior, you have to really know the Gremlin step library well.
To make it easier to write strategies, we should come up with a set of "marker"
interfaces.
* {{Mapping}} (one-to-one)
* {{FlatMapping}} (one-to-many)
* {{Reducing}} (many-to-one)
* {{Filtering}} (one-to-oneOrNone)
* {{SideEffecting}} (one-to-one w/ side-effect)
* {{Barriering}} (many-to-many)
>From here, we tag all the steps with their respective behavior marker and then
>go through and clean up strategies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)