Class B_O_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>
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<Traverser<T>>,- Traverser<T>,- Traverser.Admin<T>,- Attachable<T>
 - Direct Known Subclasses:
- B_O_S_SE_SL_Traverser
 
 public class B_O_Traverser<T> extends O_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.AttachableAttachable.Exceptions, Attachable.Method
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraverserTraverser.Admin<T>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected longbulkprotected Stringfuture- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.O_Traversertags
 - 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.util.AbstractTraversert
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traverser.AdminHALT
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedB_O_Traverser()B_O_Traverser(T t, long initialBulk)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longbulk()A traverser may represent a grouping of traversers to allow for more efficient data propagation.booleanequals(Object object)protected booleanequals(B_O_Traverser other)StringgetStepId()Get the step id of where the traverser is located.inthashCode()voidmerge(Traverser.Admin<?> other)When two traversers are have equality with each other, then they can be merged.voidsetBulk(long count)Set the number of traversers represented by this traverser.voidsetStepId(String stepId)Set the step id of where the traverser is located.- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.O_Traverserequals, getTags, split, split
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.traverser.util.AbstractTraverseraddLabels, attach, clone, detach, dropLabels, dropPath, get, getSideEffects, incrLoops, initialiseLoops, keepLabels, loops, loops, path, resetLoops, sack, sack, set, setSideEffects, toString
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraverserasAdmin, compareTo, path, path, sideEffects, sideEffects
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traverser.AdmingetLoopNames, isHalted
 
- 
 
- 
- 
- 
Field Detail- 
bulkprotected long bulk 
 - 
futureprotected String future 
 
- 
 - 
Constructor Detail- 
B_O_Traverserprotected B_O_Traverser() 
 - 
B_O_Traverserpublic B_O_Traverser(T t, long initialBulk) 
 
- 
 - 
Method Detail- 
setBulkpublic void setBulk(long count) Description copied from interface:Traverser.AdminSet the number of traversers represented by this traverser.- Specified by:
- setBulkin interface- Traverser.Admin<T>
- Overrides:
- setBulkin class- AbstractTraverser<T>
- Parameters:
- count- the number of traversers
 
 - 
bulkpublic long bulk() Description copied from interface:TraverserA traverser may represent a grouping of traversers to allow for more efficient data propagation.
 - 
mergepublic void merge(Traverser.Admin<?> other) Description copied from interface:Traverser.AdminWhen two traversers are have equality with each other, then they can be merged. This method is used to merge the traversers into a single traverser. This is used for optimization where instead of enumerating all traversers, they can be counted.- Specified by:
- mergein interface- Traverser.Admin<T>
- Overrides:
- mergein class- O_Traverser<T>
- Parameters:
- other- the other traverser to merge into this traverser. Once merged, the other can be garbage collected.
 
 - 
getStepIdpublic String getStepId() Description copied from interface:Traverser.AdminGet the step id of where the traverser is located. This is typically used in multi-machine systems that require the movement of traversers between different traversal instances.- Specified by:
- getStepIdin interface- Traverser.Admin<T>
- Overrides:
- getStepIdin class- AbstractTraverser<T>
- Returns:
- The future step for the traverser
 
 - 
setStepIdpublic void setStepId(String stepId) Description copied from interface:Traverser.AdminSet the step id of where the traverser is located. If the future isTraverser.Admin.HALT, thenTraverser.Admin.isHalted()is true.- Specified by:
- setStepIdin interface- Traverser.Admin<T>
- Overrides:
- setStepIdin class- AbstractTraverser<T>
- Parameters:
- stepId- The future step of the traverser
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- O_Traverser<T>
 
 - 
equalsprotected final boolean equals(B_O_Traverser other) 
 - 
equalspublic boolean equals(Object object) - Overrides:
- equalsin class- O_Traverser<T>
 
 
- 
 
-