Interface IsStepContract<S>
-
- All Superinterfaces:
Cloneable,Iterator<Traverser.Admin<S>>,Serializable,Step<S,S>
- All Known Implementing Classes:
IsStep,IsStepPlaceholder
public interface IsStepContract<S> extends Step<S,S>
Defines the contract for steps containing a singleP.
-
-
Field Summary
Fields Modifier and Type Field Description static List<Class<? extends Step>>CONCRETE_STEPSConcrete implementations of this contract that can be referenced as TinkerPop implementations.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description P<S>getPredicate()Retrieves the step's predicate.default P<S>getPredicateGValueSafe()Set<TraverserRequirement>getRequirements()Provide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasStarts, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
-
-
-
-
Method Detail
-
getPredicate
P<S> getPredicate()
Retrieves the step's predicate.- Returns:
- the predicate associated with the step
-
getRequirements
Set<TraverserRequirement> getRequirements()
Description copied from interface:StepProvide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly. The provided default implements returns an empty set.- Specified by:
getRequirementsin interfaceStep<S,S>- Returns:
- the set of requirements
-
-