public class OSingleOpExecutionPlan extends Object implements OInternalExecutionPlan
Modifier and Type | Field and Description |
---|---|
protected OSimpleExecStatement |
statement |
JAVA_TYPE
Constructor and Description |
---|
OSingleOpExecutionPlan(OCommandContext ctx,
OSimpleExecStatement stm) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeCached() |
void |
close() |
OResultSet |
executeInternal(OBasicCommandContext ctx) |
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) |
OResult |
toResult() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy, deserialize, getStatement, serialize, setStatement
protected final OSimpleExecStatement statement
public OSingleOpExecutionPlan(OCommandContext ctx, OSimpleExecStatement stm)
public void close()
close
in interface OInternalExecutionPlan
public OResultSet fetchNext(int n)
OInternalExecutionPlan
fetchNext
in interface OInternalExecutionPlan
public void reset(OCommandContext ctx)
reset
in interface OInternalExecutionPlan
public long getCost()
getCost
in interface OInternalExecutionPlan
public boolean canBeCached()
canBeCached
in interface OInternalExecutionPlan
public OResultSet executeInternal(OBasicCommandContext ctx) throws OCommandExecutionException
OCommandExecutionException
public List<OExecutionStep> getSteps()
getSteps
in interface OExecutionPlan
public String prettyPrint(int depth, int indent)
prettyPrint
in interface OExecutionPlan
public OResult toResult()
toResult
in interface OExecutionPlan
Copyright © 2009–2021 OrientDB. All rights reserved.