public final class EarlyLimitStrategy extends AbstractTraversalStrategy<TraversalStrategy.OptimizationStrategy> implements TraversalStrategy.OptimizationStrategy
RangeGlobalStep
s that can be moved further left in the traversal and thus be applied
earlier. It will also try to merge multiple RangeGlobalStep
s into one.
If the logical consequence of one or multiple RangeGlobalStep
s is an empty result, the strategy will remove
as many steps as possible and add a NoneStep
instead.TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
STRATEGY
Modifier and Type | Method and Description |
---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
static EarlyLimitStrategy |
instance() |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getTraversalCategory
applyPost, applyPrior, getConfiguration
public void apply(Traversal.Admin<?,?> traversal)
apply
in interface TraversalStrategy<TraversalStrategy.OptimizationStrategy>
public static EarlyLimitStrategy instance()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.