Class B_LP_O_P_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_P_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_P_S_SE_SL_Traverser
public class B_LP_O_P_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 Path
path
-
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 protected
B_LP_O_P_S_SE_SL_Traverser()
B_LP_O_P_S_SE_SL_Traverser(T t, Step<T,?> step, long initialBulk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLabels(Set<String> labels)
Traverser.Admin<T>
detach()
Prepare the traverser for migration across a JVM boundary.void
dropPath()
Drop the path of the traverser.boolean
equals(Object object)
protected boolean
equals(B_LP_O_P_S_SE_SL_Traverser other)
int
hashCode()
Path
path()
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, dropLabels, get, keepLabels, 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:Traverser
Get the current path of the traverser.
-
detach
public Traverser.Admin<T> detach()
Description copied from interface:Traverser.Admin
Prepare the traverser for migration across a JVM boundary.- Specified by:
detach
in interfaceTraverser.Admin<T>
- Overrides:
detach
in classAbstractTraverser<T>
- Returns:
- The deflated traverser
-
split
public <R> Traverser.Admin<R> split(R r, Step<T,R> step)
Description copied from interface:Traverser.Admin
Generate 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:
split
in interfaceTraverser.Admin<T>
- Overrides:
split
in 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.Admin
Generate a sibling traverser of the current traverser with a full copy of all state within the sibling.- Specified by:
split
in interfaceTraverser.Admin<T>
- Overrides:
split
in classB_O_S_SE_SL_Traverser<T>
- Returns:
- The split traverser
-
dropPath
public void dropPath()
Description copied from interface:Traverser.Admin
Drop 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:
dropPath
in interfaceTraverser.Admin<T>
- Overrides:
dropPath
in classAbstractTraverser<T>
-
addLabels
public void addLabels(Set<String> labels)
- Specified by:
addLabels
in interfaceTraverser.Admin<T>
- Overrides:
addLabels
in classAbstractTraverser<T>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classB_O_S_SE_SL_Traverser<T>
-
equals
protected final boolean equals(B_LP_O_P_S_SE_SL_Traverser other)
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classB_O_S_SE_SL_Traverser<T>
-
-