public final class ReadOnlyStrategy extends AbstractTraversalStrategy<TraversalStrategy.VerificationStrategy> implements TraversalStrategy.VerificationStrategy
Mutating
and throws an IllegalStateException
if one is found.__.out().addE() // throws an IllegalStateException __.addV() // throws an IllegalStateException __.property(key,value) // throws an IllegalStateException __.out().drop() // throws an IllegalStateException
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.VendorOptimizationStrategy, TraversalStrategy.VerificationStrategy
Modifier and Type | Method and Description |
---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
static ReadOnlyStrategy |
instance() |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getTraversalCategory
applyPost, applyPrior
public void apply(Traversal.Admin<?,?> traversal)
apply
in interface TraversalStrategy<TraversalStrategy.VerificationStrategy>
public static ReadOnlyStrategy instance()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.