public class B_O_Traverser<T> extends O_Traverser<T>
Traverser.Admin<T>Attachable.Exceptions, Attachable.Method| Modifier and Type | Field and Description | 
|---|---|
| protected long | bulk | 
| protected String | future | 
tagstHALT| Modifier | Constructor and Description | 
|---|---|
| protected  | B_O_Traverser() | 
|   | B_O_Traverser(T t,
             long initialBulk) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | bulk()A traverser may represent a grouping of traversers to allow for more efficient data propagation. | 
| protected boolean | equals(B_O_Traverser other) | 
| boolean | equals(Object object) | 
| String | getStepId()Get the step id of where the traverser is located. | 
| int | hashCode() | 
| void | merge(Traverser.Admin<?> other)When two traversers are have equality with each other, then they can be merged. | 
| void | setBulk(long count)Set the number of traversers represented by this traverser. | 
| void | setStepId(String stepId)Set the step id of where the traverser is located. | 
equals, getTags, split, splitaddLabels, attach, clone, detach, dropLabels, dropPath, get, getSideEffects, incrLoops, initialiseLoops, keepLabels, loops, loops, path, resetLoops, sack, sack, set, setSideEffects, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitisHaltedasAdmin, compareTo, path, path, sideEffects, sideEffectsprotected long bulk
protected String future
protected B_O_Traverser()
public B_O_Traverser(T t, long initialBulk)
public void setBulk(long count)
Traverser.AdminsetBulk in interface Traverser.Admin<T>setBulk in class AbstractTraverser<T>count - the number of traverserspublic long bulk()
Traverserpublic void merge(Traverser.Admin<?> other)
Traverser.Adminmerge in interface Traverser.Admin<T>merge in class O_Traverser<T>other - the other traverser to merge into this traverser. Once merged, the other can be garbage collected.public String getStepId()
Traverser.AdmingetStepId in interface Traverser.Admin<T>getStepId in class AbstractTraverser<T>public void setStepId(String stepId)
Traverser.AdminTraverser.Admin.HALT, then Traverser.Admin.isHalted() is true.setStepId in interface Traverser.Admin<T>setStepId in class AbstractTraverser<T>stepId - The future step of the traverserpublic int hashCode()
hashCode in class O_Traverser<T>protected final boolean equals(B_O_Traverser other)
public boolean equals(Object object)
equals in class O_Traverser<T>Copyright © 2013–2022 Apache Software Foundation. All rights reserved.