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
ProfileStrategy callback test. Goal: ensure that a step that implements Profileable gets a callback to setMetrics
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionflatMap(Traverser.Admin<Vertex> traverser) voidsetMetrics(MutableMetrics parentMetrics) Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep
closeIterator, processNextStart, resetMethods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, removeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
equals, getRequirements
-
Field Details
-
callbackCalled
public static boolean callbackCalled
-
-
Constructor Details
-
MockStep
-
-
Method Details
-
flatMap
- Specified by:
flatMapin classFlatMapStep<Vertex,Vertex>
-
setMetrics
- Specified by:
setMetricsin interfaceProfiling
-