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
 
 public final class EdgeLabelVerificationStrategy extends AbstractWarningVerificationStrategy EdgeLabelVerificationStrategydoes 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:
- Serialized Form
- 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 SummaryNested Classes Modifier and Type Class Description static classEdgeLabelVerificationStrategy.Builder- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategyTraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategyLOG_WARNING, logWarning, THROW_EXCEPTION, throwException
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategySTRATEGY
 
- 
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static EdgeLabelVerificationStrategy.Builderbuild()static EdgeLabelVerificationStrategycreate(org.apache.commons.configuration2.Configuration configuration)- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.AbstractWarningVerificationStrategyapply, getConfiguration
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategyequals, hashCode, toString
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategyapplyPost, applyPrior
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategy.VerificationStrategycompareTo, getTraversalCategory
 
- 
 
- 
- 
- 
Method Detail- 
createpublic static EdgeLabelVerificationStrategy create(org.apache.commons.configuration2.Configuration configuration) 
 - 
buildpublic static EdgeLabelVerificationStrategy.Builder build() 
 
- 
 
-