Class ReservedKeysVerificationStrategy
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.ReservedKeysVerificationStrategy
- All Implemented Interfaces:
Serializable,Comparable<Class<? extends TraversalStrategy>>,TraversalStrategy<TraversalStrategy.VerificationStrategy>,TraversalStrategy.VerificationStrategy
This verification strategy detects property keys that should not be used by the traversal. A term may be reserved
by a particular graph implementation or as a convention given best practices.
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
* @example
* __.addV("person").property("id", 123) // throws an IllegalStateException * __.addE("knows").property("label", "green") // throws an IllegalStateException * - See Also:
-
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
FieldsFields 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, 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
-
Field Details
-
KEYS
- See Also:
-
-
Method Details
-
getReservedKeys
-
create
public static ReservedKeysVerificationStrategy create(org.apache.commons.configuration2.Configuration configuration) -
getConfiguration
public org.apache.commons.configuration2.Configuration getConfiguration()Description copied from interface:TraversalStrategyGet the configuration representation of this strategy. This is useful for converting a strategy into a serialized form.- Specified by:
getConfigurationin interfaceTraversalStrategy<TraversalStrategy.VerificationStrategy>- Overrides:
getConfigurationin classAbstractWarningVerificationStrategy- Returns:
- the configuration used to create this strategy
-
build
-