public final class ProfileStep<S> extends AbstractStep<S,S> implements MemoryComputing<MutableMetrics>
Modifier and Type | Class and Description |
---|---|
static class |
ProfileStep.ProfileBiOperator |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
ProfileStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
ProfileStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
MemoryComputeKey<MutableMetrics> |
getMemoryComputeKey()
The
MemoryComputeKey that will be used by this step. |
MutableMetrics |
getMetrics() |
boolean |
hasNext() |
Traverser.Admin<S> |
next() |
protected Traverser.Admin<S> |
processNextStart() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
public ProfileStep(Traversal.Admin traversal)
public MutableMetrics getMetrics()
public Traverser.Admin<S> next()
next
in interface Iterator<Traverser.Admin<S>>
next
in class AbstractStep<S,S>
public boolean hasNext()
hasNext
in interface Iterator<Traverser.Admin<S>>
hasNext
in class AbstractStep<S,S>
protected Traverser.Admin<S> processNextStart() throws NoSuchElementException
processNextStart
in class AbstractStep<S,S>
NoSuchElementException
public MemoryComputeKey<MutableMetrics> getMemoryComputeKey()
MemoryComputing
MemoryComputeKey
that will be used by this step.getMemoryComputeKey
in interface MemoryComputing<MutableMetrics>
public ProfileStep<S> clone()
Step
EmptyStep
.Copyright © 2013–2016 Apache Software Foundation. All rights reserved.