Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
3.0.2-incubating
-
None
-
None
Description
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.