public final class OrderLimitStrategy extends AbstractTraversalStrategy<TraversalStrategy.OptimizationStrategy> implements TraversalStrategy.OptimizationStrategy
OrderLimitStrategy
is an OLAP strategy that folds a RangeGlobalStep
into a preceding
OrderGlobalStep
. This helps to eliminate traversers early in the traversal and can
significantly reduce the amount of memory required by the OLAP execution engine.
It's worth noting that certain steps are allowed between OrderGlobalStep
and RangeGlobalStep
:
These steps will be ignored by the OrderLimitStrategy
and thus not affect its behavior.TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
STRATEGY
Modifier and Type | Method and Description |
---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
static OrderLimitStrategy |
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 OrderLimitStrategy instance()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.