| Package | Description | 
|---|---|
| org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization | 
| Class and Description | 
|---|
| AdjacentToIncidentStrategy This strategy looks for vertex- and value-emitting steps followed by a  CountGlobalStepand replaces the
 pattern with an edge- or property-emitting step followed by aCountGlobalStep. | 
| ByModulatorOptimizationStrategy This strategy looks for standard traversals in by-modulators and replaces them with more optimized traversals
 (e.g. | 
| CountStrategy This strategy optimizes any occurrence of  CountGlobalStepfollowed by anIsStep. | 
| EarlyLimitStrategy This strategy looks for  RangeGlobalSteps that can be moved further left in the traversal and thus be applied
 earlier. | 
| FilterRankingStrategy FilterRankingStrategyreorders filter- and order-steps according to their rank. | 
| IdentityRemovalStrategy IdentityRemovalStrategylooks forIdentityStepinstances and removes them. | 
| IncidentToAdjacentStrategy This strategy looks for  .outE().inV(),.inE().outV()and.bothE().otherV()and replaces these step sequences with.out(),.in()or.both()respectively. | 
| InlineFilterStrategy This strategy analyzes filter-steps with child traversals that themselves are pure filters. | 
| LazyBarrierStrategy LazyBarrierStrategyis 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. | 
| MatchPredicateStrategy MatchWhereStrategywill fold any post-where()step that maintains a traversal constraint intomatch(). | 
| OrderLimitStrategy OrderLimitStrategyis an OLAP strategy that folds aRangeGlobalStepinto a precedingOrderGlobalStep. | 
| PathProcessorStrategy PathProcessStrategyis 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. | 
| PathRetractionStrategy | 
| ProductiveByStrategy Takes an argument of  by()and wraps itCoalesceStepso that the result is either the initialTraversalargument ornull. | 
| ProductiveByStrategy.Builder | 
| RepeatUnrollStrategy RepeatUnrollStrategyis an OLTP-only strategy that unrolls anyRepeatStepif it uses a constant
 number of loops (times(x)) and doesn't emit intermittent elements. | 
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.