public class B_LP_O_S_SE_SL_Traverser<T> extends B_O_S_SE_SL_Traverser<T>
Traverser.Admin<T>
Attachable.Exceptions, Attachable.Method
Modifier and Type | Field and Description |
---|---|
protected Path |
path |
loops, sack, sideEffects
bulk, future
tags
t
HALT
Modifier | Constructor and Description |
---|---|
protected |
B_LP_O_S_SE_SL_Traverser() |
|
B_LP_O_S_SE_SL_Traverser(T t,
Step<T,?> step,
long initialBulk) |
Modifier and Type | Method and Description |
---|---|
void |
addLabels(Set<String> labels) |
Traverser.Admin<T> |
detach()
Prepare the traverser for migration across a JVM boundary.
|
void |
dropLabels(Set<String> labels)
Drop all path information associated with specified labels.
|
void |
dropPath()
Drop the path of the traverser.
|
boolean |
equals(Object object) |
int |
hashCode() |
void |
keepLabels(Set<String> labels)
Drop all path information not associated with specified labels.
|
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.
|
getSideEffects, incrLoops, loops, merge, resetLoops, sack, sack, setSideEffects
bulk, getStepId, setBulk, setStepId
getTags
attach, clone, get, set, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
isHalted
asAdmin, compareTo, path, path, sideEffects, sideEffects
protected Path path
public Path path()
Traverser
public Traverser.Admin<T> detach()
Traverser.Admin
detach
in interface Traverser.Admin<T>
detach
in class AbstractTraverser<T>
public <R> Traverser.Admin<R> split(R r, Step<T,R> step)
Traverser.Admin
split
in interface Traverser.Admin<T>
split
in class B_O_S_SE_SL_Traverser<T>
R
- The current object type of the childr
- The current object of the childstep
- The step yielding the splitpublic Traverser.Admin<T> split()
Traverser.Admin
split
in interface Traverser.Admin<T>
split
in class B_O_S_SE_SL_Traverser<T>
public void addLabels(Set<String> labels)
addLabels
in interface Traverser.Admin<T>
addLabels
in class AbstractTraverser<T>
public void keepLabels(Set<String> labels)
Traverser.Admin
keepLabels
in interface Traverser.Admin<T>
keepLabels
in class AbstractTraverser<T>
labels
- the labels to keep path information for.public void dropLabels(Set<String> labels)
Traverser.Admin
dropLabels
in interface Traverser.Admin<T>
dropLabels
in class AbstractTraverser<T>
labels
- the labels to drop path information for.public void dropPath()
Traverser.Admin
dropPath
in interface Traverser.Admin<T>
dropPath
in class AbstractTraverser<T>
public int hashCode()
hashCode
in class B_O_S_SE_SL_Traverser<T>
public boolean equals(Object object)
equals
in class B_O_S_SE_SL_Traverser<T>
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.