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.VerificationStrategySTRATEGY| Modifier and Type | Method and Description |
|---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
static OrderLimitStrategy |
instance() |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getTraversalCategoryapplyPost, applyPrior, getConfigurationpublic void apply(Traversal.Admin<?,?> traversal)
apply in interface TraversalStrategy<TraversalStrategy.OptimizationStrategy>public static OrderLimitStrategy instance()
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.