Class B_LP_O_S_SE_SL_Traverser<T>
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.traverser.util.AbstractTraverser<T>
-
- org.apache.tinkerpop.gremlin.process.traversal.traverser.O_Traverser<T>
-
- org.apache.tinkerpop.gremlin.process.traversal.traverser.B_O_Traverser<T>
-
- org.apache.tinkerpop.gremlin.process.traversal.traverser.B_O_S_SE_SL_Traverser<T>
-
- org.apache.tinkerpop.gremlin.process.traversal.traverser.B_LP_O_S_SE_SL_Traverser<T>
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Traverser<T>>,Traverser<T>,Traverser.Admin<T>,Attachable<T>
- Direct Known Subclasses:
B_LP_NL_O_S_SE_SL_Traverser
public class B_LP_O_S_SE_SL_Traverser<T> extends B_O_S_SE_SL_Traverser<T>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
Attachable.Exceptions, Attachable.Method
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traverser
Traverser.Admin<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Pathpath-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.B_O_S_SE_SL_Traverser
loopName, loops, sack, sideEffects
-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.B_O_Traverser
bulk, future
-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.O_Traverser
tags
-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.util.AbstractTraverser
t
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
logger
-
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin
HALT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedB_LP_O_S_SE_SL_Traverser()B_LP_O_S_SE_SL_Traverser(T t, Step<T,?> step, long initialBulk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLabels(Set<String> labels)Traverser.Admin<T>detach()Prepare the traverser for migration across a JVM boundary.voiddropLabels(Set<String> labels)Drop all path information associated with specified labels.voiddropPath()Drop the path of the traverser.booleanequals(Object object)protected booleanequals(B_LP_O_S_SE_SL_Traverser other)inthashCode()voidkeepLabels(Set<String> labels)Drop all path information not associated with specified labels.Pathpath()Get the current path of the traverser.Traverser.Admin<T>split()Generate a sibling traverser of the current traverser with a full copy of all state within the sibling.<R> Traverser.Admin<R>split(R r, Step<T,R> step)Generate a child traverser of the current traverser for current as step and new object location.-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.B_O_S_SE_SL_Traverser
equals, getLoopNames, getSideEffects, incrLoops, initialiseLoops, loops, loops, merge, resetLoops, sack, sack, setSideEffects
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.B_O_Traverser
bulk, equals, getStepId, setBulk, setStepId
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.O_Traverser
equals, getTags
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.util.AbstractTraverser
attach, clone, get, set, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traverser
asAdmin, compareTo, path, path, sideEffects, sideEffects
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin
isHalted
-
-
-
-
Field Detail
-
path
protected Path path
-
-
Method Detail
-
path
public Path path()
Description copied from interface:TraverserGet the current path of the traverser.
-
detach
public Traverser.Admin<T> detach()
Description copied from interface:Traverser.AdminPrepare the traverser for migration across a JVM boundary.- Specified by:
detachin interfaceTraverser.Admin<T>- Overrides:
detachin classAbstractTraverser<T>- Returns:
- The deflated traverser
-
split
public <R> Traverser.Admin<R> split(R r, Step<T,R> step)
Description copied from interface:Traverser.AdminGenerate a child traverser of the current traverser for current as step and new object location. The child has the path history, future, and loop information of the parent. The child extends that path history with the current as and provided R-object.- Specified by:
splitin interfaceTraverser.Admin<T>- Overrides:
splitin classB_O_S_SE_SL_Traverser<T>- Type Parameters:
R- The current object type of the child- Parameters:
r- The current object of the childstep- The step yielding the split- Returns:
- The split traverser
-
split
public Traverser.Admin<T> split()
Description copied from interface:Traverser.AdminGenerate a sibling traverser of the current traverser with a full copy of all state within the sibling.- Specified by:
splitin interfaceTraverser.Admin<T>- Overrides:
splitin classB_O_S_SE_SL_Traverser<T>- Returns:
- The split traverser
-
addLabels
public void addLabels(Set<String> labels)
- Specified by:
addLabelsin interfaceTraverser.Admin<T>- Overrides:
addLabelsin classAbstractTraverser<T>
-
keepLabels
public void keepLabels(Set<String> labels)
Description copied from interface:Traverser.AdminDrop all path information not associated with specified labels. This is an optimization method that allows a traverser to save memory and increase the likelihood of bulking.- Specified by:
keepLabelsin interfaceTraverser.Admin<T>- Overrides:
keepLabelsin classAbstractTraverser<T>- Parameters:
labels- the labels to keep path information for.
-
dropLabels
public void dropLabels(Set<String> labels)
Description copied from interface:Traverser.AdminDrop all path information associated with specified labels. This is an optimization method that allows a traverser to save memory and increase the likelihood of bulking.- Specified by:
dropLabelsin interfaceTraverser.Admin<T>- Overrides:
dropLabelsin classAbstractTraverser<T>- Parameters:
labels- the labels to drop path information for.
-
dropPath
public void dropPath()
Description copied from interface:Traverser.AdminDrop the path of the traverser. This is an optimization method that allows a traverser to save memory and increase the likelihood of bulking.- Specified by:
dropPathin interfaceTraverser.Admin<T>- Overrides:
dropPathin classAbstractTraverser<T>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classB_O_S_SE_SL_Traverser<T>
-
equals
protected final boolean equals(B_LP_O_S_SE_SL_Traverser other)
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classB_O_S_SE_SL_Traverser<T>
-
-