public final class EdgeLabelVerificationStrategy extends AbstractWarningVerificationStrategy
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.
__.outE() // throws an IllegalStateException __.out() // throws an IllegalStateException __.bothE() // throws an IllegalStateException __.to(OUT) // throws an IllegalStateException __.toE(IN) // throws an IllegalStateException
Modifier and Type | Class and Description |
---|---|
static class |
EdgeLabelVerificationStrategy.Builder |
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy
LOG_WARNING, logWarning, THROW_EXCEPTION, throwException
STRATEGY
Modifier and Type | Method and Description |
---|---|
static EdgeLabelVerificationStrategy.Builder |
build() |
static EdgeLabelVerificationStrategy |
create(Configuration configuration) |
apply, getConfiguration
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getTraversalCategory
applyPost, applyPrior
public static EdgeLabelVerificationStrategy create(Configuration configuration)
public static EdgeLabelVerificationStrategy.Builder build()
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.