Class Summary Class Description AdjacentToIncidentStrategyThis strategy looks for vertex- and value-emitting steps followed by a
CountGlobalStepand replaces the pattern with an edge- or property-emitting step followed by a
ByModulatorOptimizationStrategyThis strategy looks for standard traversals in by-modulators and replaces them with more optimized traversals (e.g. CountStrategyThis strategy optimizes any occurrence of
CountGlobalStepfollowed by an
EarlyLimitStrategyThis strategy looks for
RangeGlobalSteps that can be moved further left in the traversal and thus be applied earlier.
FilterRankingStrategyreorders filter- and order-steps according to their rank.
IdentityStepinstances and removes them.
IncidentToAdjacentStrategyThis strategy looks for
.bothE().otherV()and replaces these step sequences with
IncidentToAdjacentStrategyProcessTest InlineFilterStrategyThis strategy analyzes filter-steps with child traversals that themselves are pure filters. LazyBarrierStrategy
LazyBarrierStrategyis an OLTP-only strategy that automatically inserts a
FlatMapStepif neither path-tracking nor partial path-tracking is required, and the next step is not the traversal's last step or a
MatchWhereStrategywill fold any post-
where()step that maintains a traversal constraint into
OrderLimitStrategyis an OLAP strategy that folds a
RangeGlobalStepinto a preceding
PathProcessStrategyis an OLAP strategy that does its best to turn non-local children in
select()into local children by inlining components of the non-local child.
PathRetractionStrategy ProductiveByStrategyTakes an argument of
by()and wraps it
CoalesceStepso that the result is either the initial
RepeatUnrollStrategyis an OLTP-only strategy that unrolls any
RepeatStepif it uses a constant number of loops (
times(x)) and doesn't emit intermittent elements.