Class TraversalStrategyProxy<T extends TraversalStrategy>
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.strategy.TraversalStrategyProxy<T>
-
- All Implemented Interfaces:
Serializable
,Comparable
,TraversalStrategy
public final class TraversalStrategyProxy<T extends TraversalStrategy> extends Object implements Serializable, TraversalStrategy
This class is for use withBytecode
and for serialization purposes. It is not meant for direct use withTraversalSource.withStrategies(TraversalStrategy[])
.- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
-
-
Field Summary
-
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
STRATEGY
-
-
Constructor Summary
Constructors Constructor Description TraversalStrategyProxy(Class<T> strategyClass, org.apache.commons.configuration2.Configuration configuration)
TraversalStrategyProxy(T traversalStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Traversal.Admin traversal)
int
compareTo(Object o)
org.apache.commons.configuration2.Configuration
getConfiguration()
Get the configuration representation of this strategy.Class<T>
getStrategyClass()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
applyPost, applyPrior, compareTo, getTraversalCategory
-
-
-
-
Method Detail
-
getConfiguration
public org.apache.commons.configuration2.Configuration getConfiguration()
Description copied from interface:TraversalStrategy
Get the configuration representation of this strategy. This is useful for converting a strategy into a serialized form.- Specified by:
getConfiguration
in interfaceTraversalStrategy<T extends TraversalStrategy>
- Returns:
- the configuration used to create this strategy
-
apply
public void apply(Traversal.Admin traversal)
- Specified by:
apply
in interfaceTraversalStrategy<T extends TraversalStrategy>
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable<T extends TraversalStrategy>
-
-