public final class FilterRankingStrategy extends AbstractTraversalStrategy<TraversalStrategy.OptimizationStrategy> implements TraversalStrategy.OptimizationStrategy
Step | Rank |
---|---|
is(predicate) | 1 |
has(predicate) | 2 |
where(predicate) | 3 |
simplePath() | 4 |
cyclicPath() | 4 |
filter(traversal) | 5 |
not(traversal) | td>5|
where(traversal) | 6 |
or(...) | 7 |
and(...) | 8 |
dedup() | 9 |
order() | 10 |
__.order().dedup() // is replaced by __.dedup().order() __.dedup().filter(out()).has("value", 0) // is replaced by __.has("value", 0).filter(out()).dedup()
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
STRATEGY
Modifier and Type | Method and Description |
---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
Set<Class<? extends TraversalStrategy.OptimizationStrategy>> |
applyPrior()
The set of strategies that must be executed before this strategy is executed.
|
static FilterRankingStrategy |
instance() |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getTraversalCategory
applyPost, getConfiguration
public void apply(Traversal.Admin<?,?> traversal)
apply
in interface TraversalStrategy<TraversalStrategy.OptimizationStrategy>
public Set<Class<? extends TraversalStrategy.OptimizationStrategy>> applyPrior()
TraversalStrategy
applyPrior
in interface TraversalStrategy<TraversalStrategy.OptimizationStrategy>
public static FilterRankingStrategy instance()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.