Class MatchStep<S,E>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
org.apache.tinkerpop.gremlin.process.traversal.step.util.ComputerAwareStep<S,Map<String,E>>
org.apache.tinkerpop.gremlin.process.traversal.step.map.MatchStep<S,E>
- All Implemented Interfaces:
Serializable,AutoCloseable,Cloneable,Iterator<Traverser.Admin<Map<String,,E>>> Step<S,,Map<String, E>> GraphComputing,PathProcessor,PopContaining,Scoping,TraversalParent
@Deprecated
public final class MatchStep<S,E>
extends ComputerAwareStep<S,Map<String,E>>
implements TraversalParent, Scoping, PathProcessor
Deprecated.
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classDeprecated.static final classDeprecated.static interfaceDeprecated.static final classDeprecated.static final classDeprecated.static enumDeprecated.Nested classes/interfaces inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.ComputerAwareStep
ComputerAwareStep.EndStep<S>Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PathProcessor
PathProcessor.ElementRequirementNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PopContaining
PopContaining.PopInstructionNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Scoping
Scoping.KeyNotFoundException, Scoping.Variable -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild -
Constructor Summary
ConstructorsConstructorDescriptionMatchStep(Traversal.Admin traversal, ConnectiveStep.Connective connective, Traversal... matchTraversals) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGlobalChild(Traversal.Admin<?, ?> globalChildTraversal) Deprecated.clone()Deprecated.Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.protected Iterator<Traverser.Admin<Map<String,E>>> Deprecated.Deprecated.Deprecated.Gets a list of all "global" child traversals for this step.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Used to get PopInstruction of a Step that implements Scoping.Deprecated.Provide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.Deprecated.Get the labels that this scoping step will access during the traversalinthashCode()Deprecated.voidremoveGlobalChild(Traversal.Admin<?, ?> globalChildTraversal) Deprecated.voidreset()Deprecated.Reset the state of the step such that it has no incoming starts.voidsetDedupLabels(Set<String> labels) Deprecated.voidsetKeepLabels(Set<String> keepLabels) Deprecated.voidsetMatchAlgorithm(Class<? extends MatchStep.MatchAlgorithm> matchAlgorithmClass) Deprecated.voidsetTraversal(Traversal.Admin<?, ?> parentTraversal) Deprecated.Set theTraversalthat this step is contained within.protected Iterator<Traverser.Admin<Map<String,E>>> Deprecated.toString()Deprecated.Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.ComputerAwareStep
onGraphComputer, processNextStartMethods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStepMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GraphComputing
atMasterMethods inherited from interface java.util.Iterator
forEachRemaining, removeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PathProcessor
getMaxRequirementMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Scoping
getNullableScopeValue, getSafeScopeValue, getScopeValueMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.TraversalParent
addLocalChild, asStep, close, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeLocalChild, replaceLocalChild
-
Constructor Details
-
MatchStep
public MatchStep(Traversal.Admin traversal, ConnectiveStep.Connective connective, Traversal... matchTraversals) Deprecated.
-
-
Method Details
-
getConnective
Deprecated. -
addGlobalChild
Deprecated.- Specified by:
addGlobalChildin interfaceTraversalParent
-
removeGlobalChild
Deprecated.- Specified by:
removeGlobalChildin interfaceTraversalParent
-
getGlobalChildren
Deprecated.Description copied from interface:TraversalParentGets a list of all "global" child traversals for this step. A "global" traversal is one which evaluates across all of its parents incoming traversers at once. This is typically used in cases where the child traversal represents a branch of traversal flow. SeeBranchStepas an example.- Specified by:
getGlobalChildrenin interfaceTraversalParent
-
setKeepLabels
Deprecated.- Specified by:
setKeepLabelsin interfacePathProcessor
-
getKeepLabels
Deprecated.- Specified by:
getKeepLabelsin interfacePathProcessor
-
getMatchEndLabels
Deprecated. -
getMatchStartLabels
Deprecated. -
getScopeKeys
Deprecated.Description copied from interface:ScopingGet the labels that this scoping step will access during the traversal- Specified by:
getScopeKeysin interfaceScoping- Returns:
- the accessed labels of the scoping step
-
getPopInstructions
Deprecated.Description copied from interface:ScopingUsed to get PopInstruction of a Step that implements Scoping. PopInstruction includes the labels it needs, and the pop type for each label.- Specified by:
getPopInstructionsin interfacePopContaining- Specified by:
getPopInstructionsin interfaceScoping- Specified by:
getPopInstructionsin interfaceTraversalParent- Returns:
- A Set of
PopContaining.PopInstructionvalues which contain the label and Pop value
-
toString
Deprecated. -
reset
public void reset()Deprecated.Description copied from interface:StepReset the state of the step such that it has no incoming starts. Internal states are to be reset, but any sideEffect data structures are not to be recreated. -
setMatchAlgorithm
Deprecated. -
getMatchAlgorithm
Deprecated. -
clone
Deprecated.Description copied from interface:StepCloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. When cloning a step, it is important that the steps, the cloned step is equivalent to the state of the step whenStep.reset()is called. Moreover, the previous and next steps should be set toEmptyStep. -
setTraversal
Deprecated.Description copied from interface:StepSet theTraversalthat this step is contained within.- Specified by:
setTraversalin interfaceStep<S,E> - Overrides:
setTraversalin classAbstractStep<S,Map<String, E>> - Parameters:
parentTraversal- the new traversal for this step
-
setDedupLabels
Deprecated. -
standardAlgorithm
protected Iterator<Traverser.Admin<Map<String,E>>> standardAlgorithm() throws NoSuchElementExceptionDeprecated.- Specified by:
standardAlgorithmin classComputerAwareStep<S,Map<String, E>> - Throws:
NoSuchElementException
-
computerAlgorithm
protected Iterator<Traverser.Admin<Map<String,E>>> computerAlgorithm() throws NoSuchElementExceptionDeprecated.- Specified by:
computerAlgorithmin classComputerAwareStep<S,Map<String, E>> - Throws:
NoSuchElementException
-
hashCode
public int hashCode()Deprecated. -
getRequirements
Deprecated.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,E> - Returns:
- the set of requirements
-
DeclarativeMatchStepfor declarative pattern matching. UseGraphTraversal#match(String)for GQL-based matching.