Class ReadOnlyChildValidator

java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.util.ReadOnlyChildValidator

public final class ReadOnlyChildValidator extends Object
Validates that child traversals do not contain mutating steps. Child traversals used as arguments to filter predicates (has(), is(), etc.), lookup steps (V(traversal), E(traversal)), and mutation steps (property(traversal)) must be read-only - their purpose is to compute values, not produce side effects.