Class GafferPopGraphStepStrategy
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.ProviderOptimizationStrategy>
-
- uk.gov.gchq.gaffer.tinkerpop.process.traversal.strategy.optimisation.GafferPopGraphStepStrategy
-
- 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.ProviderOptimizationStrategy>
,org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.ProviderOptimizationStrategy
public final class GafferPopGraphStepStrategy extends org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.ProviderOptimizationStrategy> implements org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.ProviderOptimizationStrategy
TheGraphStep
strategy for GafferPop, this will replace the defaultGraphStep
of a query to add Gaffer optimisations. Such as gathering anyHasStep
s so that a Gaffer View can be constructed for the query. Will also handle the translation of Cypher queries passed via a with() step in the Gremlin traversal.g.V().hasLabel() // replaced by GafferPopGraphStep g.E().hasLabel() // replaced by GafferPopGraphStep g.with("cypher", "query") // translated to Gremlin traversal
- See Also:
- Serialized Form
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<?,?> traversal)
static GafferPopGraphStepStrategy
instance()
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy
equals, hashCode, toString
-
-
-
-
Method Detail
-
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.ProviderOptimizationStrategy>
-
instance
public static GafferPopGraphStepStrategy instance()
-
-