Uses of Interface
org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
-
-
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin
Methods in org.apache.tinkerpop.gremlin with parameters of type TraversalStrategy Modifier and Type Method Description GraphTraversalSourceGraphManager.ManagedGraphProvider. traversal(Graph graph, TraversalStrategy... strategies)default GraphTraversalSourceGraphProvider. traversal(Graph graph, TraversalStrategy... strategies)Create aGraphTraversalSourcefrom aGraphinstance. -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential
Methods in org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential with parameters of type TraversalStrategy Modifier and Type Method Description CredentialTraversalSourceCredentialTraversalSource. withStrategies(TraversalStrategy... traversalStrategies) -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.language.grammar
Methods in org.apache.tinkerpop.gremlin.language.grammar that return TraversalStrategy Modifier and Type Method Description static TraversalStrategy[]GenericLiteralVisitor. parseTraversalStrategyList(GremlinParser.TraversalStrategyListContext traversalStrategyListContext, DefaultGremlinBaseVisitor<TraversalStrategy> traversalStrategyVisitor)Parse a TraversalStrategy literal list context and return a string arrayTraversalStrategyTraversalStrategyVisitor. visitTraversalStrategy(GremlinParser.TraversalStrategyContext ctx)Method parameters in org.apache.tinkerpop.gremlin.language.grammar with type arguments of type TraversalStrategy Modifier and Type Method Description static TraversalStrategy[]GenericLiteralVisitor. parseTraversalStrategyList(GremlinParser.TraversalStrategyListContext traversalStrategyListContext, DefaultGremlinBaseVisitor<TraversalStrategy> traversalStrategyVisitor)Parse a TraversalStrategy literal list context and return a string array -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.decoration
Classes in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.decoration that implement TraversalStrategy Modifier and Type Class Description classVertexProgramStrategy -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.finalization
Classes in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.finalization that implement TraversalStrategy Modifier and Type Class Description classComputerFinalizationStrategy -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.optimization
Classes in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.optimization that implement TraversalStrategy Modifier and Type Class Description classGraphFilterStrategyclassMessagePassingReductionStrategy -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.verification
Classes in org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.verification that implement TraversalStrategy Modifier and Type Class Description classVertexProgramRestrictionStrategyDetects the presence of aVertexProgramStrategyand throws anIllegalStateExceptionif it is found. -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.remote.traversal.strategy.decoration
Classes in org.apache.tinkerpop.gremlin.process.remote.traversal.strategy.decoration that implement TraversalStrategy Modifier and Type Class Description classRemoteStrategyReconstructs aTraversalby appending aRemoteStepto its end. -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal
Classes in org.apache.tinkerpop.gremlin.process.traversal with type parameters of type TraversalStrategy Modifier and Type Interface Description interfaceTraversalStrategy<S extends TraversalStrategy>ATraversalStrategydefines a particular atomic operation for mutating aTraversalprior to its evaluation.Subinterfaces of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal Modifier and Type Interface Description static interfaceTraversalStrategy.DecorationStrategyImplemented by strategies that adds "application logic" to the traversal (e.g.static interfaceTraversalStrategy.FinalizationStrategyImplemented by strategies that do final behaviors that require a fully compiled traversal to work (e.g.static interfaceTraversalStrategy.OptimizationStrategyImplemented by strategies that rewrite the traversal to be more efficient, but with the same semantics (e.g.static interfaceTraversalStrategy.ProviderOptimizationStrategyImplemented by strategies that rewrite the traversal to be more efficient, but with the same semantics.static interfaceTraversalStrategy.VerificationStrategyImplemented by strategies where there is no more behavioral tweaking of the traversal required.Fields in org.apache.tinkerpop.gremlin.process.traversal with type parameters of type TraversalStrategy Modifier and Type Field Description static List<Class<? extends TraversalStrategy>>TraversalStrategies. STRATEGY_CATEGORIESMethods in org.apache.tinkerpop.gremlin.process.traversal with type parameters of type TraversalStrategy Modifier and Type Method Description default <T extends TraversalStrategy>
Optional<T>TraversalStrategies. getStrategy(Class<T> traversalStrategyClass)Return theTraversalStrategyinstance associated with the provided class.Methods in org.apache.tinkerpop.gremlin.process.traversal that return types with arguments of type TraversalStrategy Modifier and Type Method Description Iterator<TraversalStrategy<?>>TraversalStrategies. iterator()Return anIteratorof theTraversalStrategyinstances.static Set<TraversalStrategy<?>>TraversalStrategies. sortStrategies(Set<TraversalStrategy<?>> strategies)Sorts the list of provided strategies such that theapplyPost()andapplyPrior()dependencies are respected.default List<TraversalStrategy<?>>TraversalStrategies. toList()Return an immutable list of theTraversalStrategyinstances.Methods in org.apache.tinkerpop.gremlin.process.traversal with parameters of type TraversalStrategy Modifier and Type Method Description TraversalStrategiesTraversalStrategies. addStrategies(TraversalStrategy<?>... strategies)Add all the providedTraversalStrategyinstances to the current collection.default TraversalSourceTraversalSource. withStrategies(TraversalStrategy... traversalStrategies)Add an arbitrary collection ofTraversalStrategyinstances to the traversal source.Method parameters in org.apache.tinkerpop.gremlin.process.traversal with type arguments of type TraversalStrategy Modifier and Type Method Description default intTraversalStrategy. compareTo(Class<? extends TraversalStrategy> otherTraversalCategory)default intTraversalStrategy.DecorationStrategy. compareTo(Class<? extends TraversalStrategy> otherTraversalCategory)default intTraversalStrategy.FinalizationStrategy. compareTo(Class<? extends TraversalStrategy> otherTraversalCategory)default intTraversalStrategy.OptimizationStrategy. compareTo(Class<? extends TraversalStrategy> otherTraversalCategory)default intTraversalStrategy.ProviderOptimizationStrategy. compareTo(Class<? extends TraversalStrategy> otherTraversalCategory)default intTraversalStrategy.VerificationStrategy. compareTo(Class<? extends TraversalStrategy> otherTraversalCategory)static Set<TraversalStrategy<?>>TraversalStrategies. sortStrategies(Set<TraversalStrategy<?>> strategies)Sorts the list of provided strategies such that theapplyPost()andapplyPrior()dependencies are respected.static voidTraversalStrategies. visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap, List<Class<? extends TraversalStrategy>> sortedStrategyClasses, Set<Class<? extends TraversalStrategy>> seenStrategyClases, List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses, Class<? extends TraversalStrategy> strategyClass)static voidTraversalStrategies. visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap, List<Class<? extends TraversalStrategy>> sortedStrategyClasses, Set<Class<? extends TraversalStrategy>> seenStrategyClases, List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses, Class<? extends TraversalStrategy> strategyClass)static voidTraversalStrategies. visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap, List<Class<? extends TraversalStrategy>> sortedStrategyClasses, Set<Class<? extends TraversalStrategy>> seenStrategyClases, List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses, Class<? extends TraversalStrategy> strategyClass)static voidTraversalStrategies. visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap, List<Class<? extends TraversalStrategy>> sortedStrategyClasses, Set<Class<? extends TraversalStrategy>> seenStrategyClases, List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses, Class<? extends TraversalStrategy> strategyClass)static voidTraversalStrategies. visit(Map<Class<? extends TraversalStrategy>,Set<Class<? extends TraversalStrategy>>> dependencyMap, List<Class<? extends TraversalStrategy>> sortedStrategyClasses, Set<Class<? extends TraversalStrategy>> seenStrategyClases, List<Class<? extends TraversalStrategy>> unprocessedStrategyClasses, Class<? extends TraversalStrategy> strategyClass) -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph
Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type TraversalStrategy Modifier and Type Method Description GraphTraversalSourceGraphTraversalSource. withStrategies(TraversalStrategy... traversalStrategies)Add an arbitrary collection ofTraversalStrategyinstances to the traversal source. -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal.strategy
Classes in org.apache.tinkerpop.gremlin.process.traversal.strategy with type parameters of type TraversalStrategy Modifier and Type Class Description classAbstractTraversalStrategy<S extends TraversalStrategy>classTraversalStrategyProxy<T extends TraversalStrategy>This class is for use withBytecodeand for serialization purposes.Classes in org.apache.tinkerpop.gremlin.process.traversal.strategy that implement TraversalStrategy Modifier and Type Class Description classAbstractTraversalStrategy<S extends TraversalStrategy>classTraversalStrategyProxy<T extends TraversalStrategy>This class is for use withBytecodeand for serialization purposes. -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration
Classes in org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration that implement TraversalStrategy Modifier and Type Class Description classConnectiveStrategyclassElementIdStrategyProvides a degree of control over element identifier assignment as some graphs don't provide that feature.classEventStrategyA strategy that raises events whenMutatingsteps are encountered and successfully executed.classHaltedTraverserStrategyclassOptionsStrategyThis strategy will not alter the traversal.classPartitionStrategyPartitionStrategypartitions the vertices, edges and vertex properties of a graph into String named partitions (i.e.classRequirementsStrategyclassSackStrategyTheSackStrategyis used internal to thewithSack()steps ofTraversalSourceand is not typically constructed directly.classSeedStrategyA strategy that resets the specifiedseedvalue forSeedablesteps, which in turn will produce deterministic results from those steps.classSideEffectStrategyclassSubgraphStrategyThisTraversalStrategyprovides a way to limit the view of aTraversal.classTranslationStrategy -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization
Classes in org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization that implement TraversalStrategy Modifier and Type Class Description classMatchAlgorithmStrategyclassProfileStrategyclassReferenceElementStrategyA strategy that detaches traversers with graph elements as references (i.e. -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization
Classes in org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization that implement TraversalStrategy Modifier and Type Class Description classAdjacentToIncidentStrategyThis strategy looks for vertex- and value-emitting steps followed by aCountGlobalStepand replaces the pattern with an edge- or property-emitting step followed by aCountGlobalStep.classByModulatorOptimizationStrategyThis strategy looks for standard traversals in by-modulators and replaces them with more optimized traversals (e.g.classCountStrategyThis strategy optimizes any occurrence ofCountGlobalStepfollowed by anIsStep.classEarlyLimitStrategyThis strategy looks forRangeGlobalSteps that can be moved further left in the traversal and thus be applied earlier.classFilterRankingStrategyFilterRankingStrategyreorders filter- and order-steps according to their rank.classIdentityRemovalStrategyIdentityRemovalStrategylooks forIdentityStepinstances and removes them.classIncidentToAdjacentStrategyThis strategy looks for.outE().inV(),.inE().outV()and.bothE().otherV()and replaces these step sequences with.out(),.in()or.both()respectively.classInlineFilterStrategyThis strategy analyzes filter-steps with child traversals that themselves are pure filters.classLazyBarrierStrategyLazyBarrierStrategyis an OLTP-only strategy that automatically inserts aNoOpBarrierStepafter everyFlatMapStepif neither path-tracking nor partial path-tracking is required, and the next step is not the traversal's last step or aBarrier.classMatchPredicateStrategyMatchWhereStrategywill fold any post-where()step that maintains a traversal constraint intomatch().classOrderLimitStrategyOrderLimitStrategyis an OLAP strategy that folds aRangeGlobalStepinto a precedingOrderGlobalStep.classPathProcessorStrategyPathProcessStrategyis an OLAP strategy that does its best to turn non-local children inwhere()andselect()into local children by inlining components of the non-local child.classPathRetractionStrategyclassProductiveByStrategyTakes an argument ofby()and wraps itCoalesceStepso that the result is either the initialTraversalargument ornull.classRepeatUnrollStrategyRepeatUnrollStrategyis an OLTP-only strategy that unrolls anyRepeatStepif it uses a constant number of loops (times(x)) and doesn't emit intermittent elements. -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal.strategy.verification
Classes in org.apache.tinkerpop.gremlin.process.traversal.strategy.verification that implement TraversalStrategy Modifier and Type Class Description classAbstractWarningVerificationStrategyBaseTraversalStrategyclass that is configurable to throw warnings or exceptions.classComputerVerificationStrategyclassEdgeLabelVerificationStrategyEdgeLabelVerificationStrategydoes not allow edge traversal steps to have no label specified.classLambdaRestrictionStrategyLambdaRestrictionStrategydoes not allow lambdas to be used in aTraversal.classReadOnlyStrategyDetects steps marked withMutatingand throws anIllegalStateExceptionif one is found.classReservedKeysVerificationStrategyThis verification strategy detects property keys that should not be used by the traversal.classStandardVerificationStrategy -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.process.traversal.util
Fields in org.apache.tinkerpop.gremlin.process.traversal.util with type parameters of type TraversalStrategy Modifier and Type Field Description protected List<org.javatuples.Pair<TraversalStrategy,Traversal.Admin<?,?>>>TraversalExplanation. strategyTraversalsprotected Set<TraversalStrategy<?>>DefaultTraversalStrategies. traversalStrategiesMethods in org.apache.tinkerpop.gremlin.process.traversal.util with type parameters of type TraversalStrategy Modifier and Type Method Description static <A extends TraversalStrategy>
Iterator<A>BytecodeHelper. findStrategies(Bytecode bytecode, Class<A> clazz)ParsesBytecodeto findTraversalStrategyobjects added in the source instructions.<T extends TraversalStrategy>
Optional<T>DefaultTraversalStrategies. getStrategy(Class<T> traversalStrategyClass)Methods in org.apache.tinkerpop.gremlin.process.traversal.util that return types with arguments of type TraversalStrategy Modifier and Type Method Description List<org.javatuples.Pair<TraversalStrategy,Traversal.Admin<?,?>>>ImmutableExplanation. getStrategyTraversals()List<org.javatuples.Pair<TraversalStrategy,Traversal.Admin<?,?>>>TraversalExplanation. getStrategyTraversals()Get the list ofTraversalStrategyapplications.Iterator<TraversalStrategy<?>>DefaultTraversalStrategies. iterator()Iterator<TraversalStrategy<?>>EmptyTraversalStrategies. iterator()List<TraversalStrategy<?>>DefaultTraversalStrategies. toList()List<TraversalStrategy<?>>EmptyTraversalStrategies. toList()Methods in org.apache.tinkerpop.gremlin.process.traversal.util with parameters of type TraversalStrategy Modifier and Type Method Description TraversalStrategiesDefaultTraversalStrategies. addStrategies(TraversalStrategy<?>... strategies)TraversalStrategiesEmptyTraversalStrategies. addStrategies(TraversalStrategy<?>... strategies)Method parameters in org.apache.tinkerpop.gremlin.process.traversal.util with type arguments of type TraversalStrategy Modifier and Type Method Description static voidTraversalHelper. applySingleLevelStrategies(Traversal.Admin<?,?> parentTraversal, Traversal.Admin<?,?> childTraversal, Class<? extends TraversalStrategy> stopAfterStrategy)Deprecated.As of release 3.5.2, not replaced as strategies are not applied in this fashion after 3.5.0 -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.structure.io.binary.types
Methods in org.apache.tinkerpop.gremlin.structure.io.binary.types that return TraversalStrategy Modifier and Type Method Description protected TraversalStrategyTraversalStrategySerializer. readValue(Buffer buffer, GraphBinaryReader context)Methods in org.apache.tinkerpop.gremlin.structure.io.binary.types with parameters of type TraversalStrategy Modifier and Type Method Description protected voidTraversalStrategySerializer. writeValue(TraversalStrategy value, Buffer buffer, GraphBinaryWriter context) -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.structure.util
Methods in org.apache.tinkerpop.gremlin.structure.util with parameters of type TraversalStrategy Modifier and Type Method Description static StringStringFactory. traversalStrategyString(TraversalStrategy traversalStrategy) -
Uses of TraversalStrategy in org.apache.tinkerpop.gremlin.tinkergraph.process.traversal.strategy.optimization
Classes in org.apache.tinkerpop.gremlin.tinkergraph.process.traversal.strategy.optimization that implement TraversalStrategy Modifier and Type Class Description classTinkerGraphCountStrategyThis strategy will do a graph size call if the traversal is a count of the vertices and edges of the graph or a one-to-one map chain thereof.classTinkerGraphStepStrategy
-