Class ProfileTest.MockStep
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep<Vertex,Vertex>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.map.ProfileTest.MockStep
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterator<Traverser.Admin<Vertex>>,- Step<Vertex,Vertex>,- Profiling
 - Enclosing class:
- ProfileTest
 
 public static class ProfileTest.MockStep extends FlatMapStep<Vertex,Vertex> implements Profiling ProfileStrategy callback test. Goal: ensure that a step that implements Profileable gets a callback to setMetrics- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static booleancallbackCalled- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
 
- 
 - 
Constructor SummaryConstructors Constructor Description MockStep(Traversal.Admin traversal)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Iterator<Vertex>flatMap(Traverser.Admin<Vertex> traverser)voidsetMetrics(MutableMetrics parentMetrics)- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStepcloseIterator, processNextStart, reset
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toString
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Stepequals, getRequirements
 
- 
 
- 
- 
- 
Constructor Detail- 
MockSteppublic MockStep(Traversal.Admin traversal) 
 
- 
 - 
Method Detail- 
flatMapprotected Iterator<Vertex> flatMap(Traverser.Admin<Vertex> traverser) - Specified by:
- flatMapin class- FlatMapStep<Vertex,Vertex>
 
 - 
setMetricspublic void setMetrics(MutableMetrics parentMetrics) - Specified by:
- setMetricsin interface- Profiling
 
 
- 
 
-