public class OIfExecutionPlan extends Object implements OInternalExecutionPlan
Modifier and Type | Field and Description |
---|---|
protected IfStep |
step |
JAVA_TYPE
Constructor and Description |
---|
OIfExecutionPlan(OCommandContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeCached() |
void |
chain(IfStep step) |
void |
close() |
boolean |
containsReturn() |
OExecutionStepInternal |
executeUntilReturn() |
OResultSet |
fetchNext(int n)
if the execution can still return N elements, then the result will contain them all.
|
long |
getCost() |
List<OExecutionStep> |
getSteps() |
String |
prettyPrint(int depth,
int indent) |
void |
reset(OCommandContext ctx) |
void |
setSteps(List<OExecutionStepInternal> steps) |
OResult |
toResult() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy, deserialize, getStatement, serialize, setStatement
protected IfStep step
public OIfExecutionPlan(OCommandContext ctx)
public void reset(OCommandContext ctx)
reset
in interface OInternalExecutionPlan
public void close()
close
in interface OInternalExecutionPlan
public OResultSet fetchNext(int n)
OInternalExecutionPlan
fetchNext
in interface OInternalExecutionPlan
public String prettyPrint(int depth, int indent)
prettyPrint
in interface OExecutionPlan
public void chain(IfStep step)
public List<OExecutionStep> getSteps()
getSteps
in interface OExecutionPlan
public void setSteps(List<OExecutionStepInternal> steps)
public OResult toResult()
toResult
in interface OExecutionPlan
public long getCost()
getCost
in interface OInternalExecutionPlan
public boolean canBeCached()
canBeCached
in interface OInternalExecutionPlan
public boolean containsReturn()
public OExecutionStepInternal executeUntilReturn()
Copyright © 2009–2020 OrientDB. All rights reserved.