Uses of Package
org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization
Packages that use org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization
-
Classes in org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization used by org.apache.tinkerpop.gremlin.process.traversal.strategy.optimizationClassDescriptionThis 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.This strategy looks for standard traversals in by-modulators and replaces them with more optimized traversals (e.g.This strategy optimizes any occurrence ofCountGlobalStepfollowed by anIsStep.This strategy looks forRangeGlobalSteps that can be moved further left in the traversal and thus be applied earlier.FilterRankingStrategyreorders filter- and order-steps according to their rank.Converts placeholder steps that holdGValueobjects to their concrete implementations.IdentityRemovalStrategylooks forIdentityStepinstances and removes them.This strategy looks for.outE().inV(),.inE().outV()and.bothE().otherV()and replaces these step sequences with.out(),.in()or.both()respectively.This strategy analyzes filter-steps with child traversals that themselves are pure filters.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.MatchWhereStrategywill fold any post-where()step that maintains a traversal constraint intomatch().OrderLimitStrategyis an OLAP strategy that folds aRangeGlobalStepinto a precedingOrderGlobalStep.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.Takes an argument ofby()and wraps itCoalesceStepso that the result is either the initialTraversalargument ornull.RepeatUnrollStrategyis an OLTP-only strategy that unrolls anyRepeatStepif it uses a constant number of loops (times(x)) and doesn't emit intermittent elements.