[ https://issues.apache.org/jira/browse/TINKERPOP3-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486411#comment-14486411 ]
Marko A. Rodriguez commented on TINKERPOP3-620: ----------------------------------------------- Can you provide a list of the commutative steps? Next, only commutative steps can be reordered within a sequence of themselves, correct? > Commutative Step Marker interface > --------------------------------- > > Key: TINKERPOP3-620 > URL: https://issues.apache.org/jira/browse/TINKERPOP3-620 > Project: TinkerPop 3 > Issue Type: Improvement > Reporter: Matthias Broecheler > Fix For: 3.0.0.GA > > > Some steps can be reordered, i.e. they are commutative. For instance, > has-steps can be reordered without affecting the pipeline. When writing a > query optimizer I am often in a situation where I can only optimize a subset > of the supported steps and I might want to reorder them so that I can group > all the optimizable steps together. Currently, I have to manually identify > the commutative steps for that. It would be much nicer if TinkerPop could > have a "Commutative" marker interface for that and use it consistently. -- This message was sent by Atlassian JIRA (v6.3.4#6332)