public class IndexStep<S,E> extends ScalarMapStep<S,E> implements TraversalParent, Configuring
Modifier and Type | Class and Description |
---|---|
static class |
IndexStep.IndexerType
Type of the index as it corresponds to the associated
WithOptions.list and WithOptions.map . |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
IndexStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
void |
configure(Object... keyValues)
Accept a configuration to the
Step . |
Function<Iterator<?>,Object> |
getIndexer() |
IndexStep.IndexerType |
getIndexerType()
Gets the type of indexer that is configured for this step.
|
Parameters |
getParameters()
Gets the parameters on the step.
|
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to
function properly. |
int |
hashCode() |
protected E |
map(Traverser.Admin<S> traverser) |
processNextStart
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
forEachRemaining, remove
public IndexStep(Traversal.Admin traversal)
public IndexStep.IndexerType getIndexerType()
protected E map(Traverser.Admin<S> traverser)
map
in class ScalarMapStep<S,E>
public int hashCode()
hashCode
in class AbstractStep<S,E>
public Set<TraverserRequirement> getRequirements()
Step
TraverserRequirement
that must be met by the traverser in order for the step to
function properly. The provided default implements returns an empty set.getRequirements
in interface Step<S,E>
public void configure(Object... keyValues)
Configuring
Step
. Note that this interface extends Parameterizing
and so
there is an expectation that the Step
implementation will have a Parameters
instance that will
house any values passed to this method. Storing these configurations in Parameters
is not a requirement
however, IF the configuration is an expected option for the step and can be stored on a member field that can
be accessed on the step by more direct means (i.e. like a getter method).configure
in interface Configuring
public Parameters getParameters()
Parameterizing
getParameters
in interface Parameterizing
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.