public abstract class AbstractExecutionStep extends Object implements OExecutionStepInternal
Modifier and Type | Field and Description |
---|---|
protected OCommandContext |
ctx |
protected Optional<OExecutionStepInternal> |
next |
protected Optional<OExecutionStepInternal> |
prev |
protected boolean |
profilingEnabled |
protected boolean |
timedOut |
Constructor and Description |
---|
AbstractExecutionStep(OCommandContext ctx,
boolean profilingEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
OCommandContext |
getContext() |
protected String |
getCostFormatted() |
Optional<OExecutionStepInternal> |
getNext() |
Optional<OExecutionStepInternal> |
getPrev() |
boolean |
isProfilingEnabled() |
void |
sendTimeout() |
void |
setNext(OExecutionStepInternal step) |
void |
setPrevious(OExecutionStepInternal step) |
void |
setProfilingEnabled(boolean profilingEnabled) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
basicDeserialize, basicSerialize, canBeCached, copy, deserialize, getDescription, getIndent, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, prettyPrint, reset, serialize, syncPull
getCost, toResult
protected final OCommandContext ctx
protected Optional<OExecutionStepInternal> prev
protected Optional<OExecutionStepInternal> next
protected boolean timedOut
protected boolean profilingEnabled
public AbstractExecutionStep(OCommandContext ctx, boolean profilingEnabled)
public void setPrevious(OExecutionStepInternal step)
setPrevious
in interface OExecutionStepInternal
public void setNext(OExecutionStepInternal step)
setNext
in interface OExecutionStepInternal
public OCommandContext getContext()
public Optional<OExecutionStepInternal> getPrev()
public Optional<OExecutionStepInternal> getNext()
public void sendTimeout()
sendTimeout
in interface OExecutionStepInternal
public void close()
close
in interface OExecutionStepInternal
public boolean isProfilingEnabled()
public void setProfilingEnabled(boolean profilingEnabled)
protected String getCostFormatted()
Copyright © 2009–2020 OrientDB. All rights reserved.