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.VerificationStrategyLOG_WARNING, logWarning, THROW_EXCEPTION, throwExceptionSTRATEGY| Modifier and Type | Method and Description |
|---|---|
static EdgeLabelVerificationStrategy.Builder |
build() |
static EdgeLabelVerificationStrategy |
create(Configuration configuration) |
apply, getConfigurationequals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getTraversalCategoryapplyPost, applyPriorpublic static EdgeLabelVerificationStrategy create(Configuration configuration)
public static EdgeLabelVerificationStrategy.Builder build()
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.