public final class MatchStep<S,E> extends ComputerAwareStep<S,Map<String,E>> implements TraversalParent, Scoping
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MatchStep.CountMatchAlgorithm | 
| static class  | MatchStep.GreedyMatchAlgorithm | 
| static class  | MatchStep.Helper | 
| static interface  | MatchStep.MatchAlgorithm | 
| static class  | MatchStep.MatchEndStep | 
| static class  | MatchStep.MatchStartStep | 
| static class  | MatchStep.TraversalType | 
ComputerAwareStep.EndStep<S>Scoping.Variableid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChildTYPICAL_GLOBAL_REQUIREMENTS, TYPICAL_GLOBAL_REQUIREMENTS_ARRAY, TYPICAL_LOCAL_REQUIREMENTS, TYPICAL_LOCAL_REQUIREMENTS_ARRAY| Constructor and Description | 
|---|
| MatchStep(Traversal.Admin traversal,
         ConnectiveStep.Connective connective,
         Traversal... matchTraversals) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addGlobalChild(Traversal.Admin<?,?> globalChildTraversal) | 
| MatchStep<S,E> | clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. | 
| protected Iterator<Traverser<Map<String,E>>> | computerAlgorithm() | 
| ConnectiveStep.Connective | getConnective() | 
| List<Traversal.Admin<Object,Object>> | getGlobalChildren() | 
| MatchStep.MatchAlgorithm | getMatchAlgorithm() | 
| Set<TraverserRequirement> | getRequirements()Provide the necessary  TraverserRequirementthat must be met by the traverser in order for the step to function properly. | 
| Set<String> | getScopeKeys() | 
| int | hashCode() | 
| void | removeGlobalChild(Traversal.Admin<?,?> globalChildTraversal) | 
| void | reset()Reset the state of the step such that it has no incoming starts. | 
| void | setDedupLabels(Set<String> labels) | 
| void | setMatchAlgorithm(Class<? extends MatchStep.MatchAlgorithm> matchAlgorithmClass) | 
| protected Iterator<Traverser<Map<String,E>>> | standardAlgorithm() | 
| String | toString() | 
onEngine, processNextStartaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitaddLocalChild, asStep, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeLocalChildgetNullableScopeValue, getScopeValueforEachRemaining, removepublic MatchStep(Traversal.Admin traversal, ConnectiveStep.Connective connective, Traversal... matchTraversals)
public ConnectiveStep.Connective getConnective()
public void addGlobalChild(Traversal.Admin<?,?> globalChildTraversal)
addGlobalChild in interface TraversalParentpublic void removeGlobalChild(Traversal.Admin<?,?> globalChildTraversal)
removeGlobalChild in interface TraversalParentpublic List<Traversal.Admin<Object,Object>> getGlobalChildren()
getGlobalChildren in interface TraversalParentpublic Set<String> getScopeKeys()
getScopeKeys in interface Scopingpublic void reset()
Steppublic void setMatchAlgorithm(Class<? extends MatchStep.MatchAlgorithm> matchAlgorithmClass)
public MatchStep.MatchAlgorithm getMatchAlgorithm()
public MatchStep<S,E> clone()
StepEmptyStep.protected Iterator<Traverser<Map<String,E>>> standardAlgorithm() throws NoSuchElementException
standardAlgorithm in class ComputerAwareStep<S,Map<String,E>>NoSuchElementExceptionprotected Iterator<Traverser<Map<String,E>>> computerAlgorithm() throws NoSuchElementException
computerAlgorithm in class ComputerAwareStep<S,Map<String,E>>NoSuchElementExceptionpublic Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to function properly.
 The provided default implements returns an empty set.Copyright © 2013–2015 Apache Software Foundation. All rights reserved.