public static class ProfileTest.MockStep extends FlatMapStep<Vertex,Vertex> implements Profiling
Modifier and Type | Field and Description |
---|---|
static boolean |
callbackCalled |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
MockStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Vertex> |
flatMap(Traverser.Admin<Vertex> traverser) |
void |
setMetrics(MutableMetrics parentMetrics) |
closeIterator, processNextStart, reset
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
public MockStep(Traversal.Admin traversal)
protected Iterator<Vertex> flatMap(Traverser.Admin<Vertex> traverser)
flatMap
in class FlatMapStep<Vertex,Vertex>
public void setMetrics(MutableMetrics parentMetrics)
setMetrics
in interface Profiling
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.