Class EdgeLabelVerificationStrategy
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<TraversalStrategy.VerificationStrategy>
org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategy
org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.EdgeLabelVerificationStrategy
- All Implemented Interfaces:
Serializable,Comparable<Class<? extends TraversalStrategy>>,TraversalStrategy<TraversalStrategy.VerificationStrategy>,TraversalStrategy.VerificationStrategy
EdgeLabelVerificationStrategy does not allow edge traversal steps to have no label specified.
Providing one or more labels is considered to be a best practice, however, TinkerPop will not force the specification
of edge labels; instead, providers or users will have to enable this strategy explicitly.
- Author:
- Daniel Kuppitz (http://gremlin.guru)
- See Also:
- Example:
__.outE() // throws an IllegalStateException __.out() // throws an IllegalStateException __.bothE() // throws an IllegalStateException __.to(OUT) // throws an IllegalStateException __.toE(IN) // throws an IllegalStateException
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategy
LOG_WARNING, logWarning, THROW_EXCEPTION, throwException -
Method Summary
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategy
apply, getConfiguration, isLogWarning, isThrowExceptionMethods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy
applyPost, applyPriorMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.VerificationStrategy
compareTo, getTraversalCategory
-
Method Details
-
create
public static EdgeLabelVerificationStrategy create(org.apache.commons.configuration2.Configuration configuration) -
build
-