Package org.umlg.sqlg.strategy
Class SqlgUnionPathStrategy
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy>
org.umlg.sqlg.strategy.SqlgUnionPathStrategy
- All Implemented Interfaces:
Serializable
,Comparable<Class<? extends org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy>>
,org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy<org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy>
,org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy
public class SqlgUnionPathStrategy
extends org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy>
implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy
Rewrites union followed by path. The path step is moved to each traversal inside the union.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.DecorationStrategy, org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.FinalizationStrategy, org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy, org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.ProviderOptimizationStrategy, org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.VerificationStrategy
-
Field Summary
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
STRATEGY
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
applyPrior, getConfiguration
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy
compareTo, getTraversalCategory
-
Constructor Details
-
SqlgUnionPathStrategy
public SqlgUnionPathStrategy()
-
-
Method Details
-
apply
public void apply(org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<?, ?> traversal) - Specified by:
apply
in interfaceorg.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy<org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy>
-
applyPost
public Set<Class<? extends org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy>> applyPost()- Specified by:
applyPost
in interfaceorg.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy<org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.OptimizationStrategy>
-