Interface ReadOnlyTraversalParent
- All Superinterfaces:
AutoCloseable,PopContaining,TraversalParent
- All Known Subinterfaces:
AddPropertyStepContract<S>
- All Known Implementing Classes:
AddPropertyStep,AddPropertyStepPlaceholder,AllStep,AnyStep,GraphStep,HasStep,IsStep,NoneStep,TinkerGraphStep,WherePredicateStep
Marker interface for
TraversalParent steps whose child traversals must be read-only
(no mutating steps allowed). Examples include has(key, traversal),
is(P.gt(traversal)), V(traversal), and property(traversal).
The StandardVerificationStrategy
validates the children of every step implementing this interface, rejecting child traversals that
contain mutating steps. New steps that accept such traversals should implement this interface so they are
validated automatically rather than relying on a hardcoded step list.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PopContaining
PopContaining.PopInstruction -
Method Summary
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.TraversalParent
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getPopInstructions, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild