Package com.arcadedb.query.sql.executor
Interface InternalExecutionPlan
-
- All Superinterfaces:
ExecutionPlan
,Serializable
- All Known Implementing Classes:
DDLExecutionPlan
,DeleteExecutionPlan
,ForEachExecutionPlan
,IfExecutionPlan
,InsertExecutionPlan
,ScriptExecutionPlan
,SelectExecutionPlan
,SingleOpExecutionPlan
,UpdateExecutionPlan
public interface InternalExecutionPlan extends ExecutionPlan
Created by luigidellaquila on 06/07/16.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
canBeCached()
void
close()
default InternalExecutionPlan
copy(CommandContext ctx)
default void
deserialize(Result serializedExecutionPlan)
ResultSet
fetchNext(int n)
if the execution can still return N elements, then the result will contain them all.long
getCost()
default String
getStatement()
void
reset(CommandContext ctx)
default Result
serialize()
default void
setStatement(String stm)
-
Methods inherited from interface com.arcadedb.query.sql.executor.ExecutionPlan
getSteps, prettyPrint, toResult
-
-
-
-
Field Detail
-
JAVA_TYPE
static final String JAVA_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
close
void close()
-
fetchNext
ResultSet fetchNext(int n)
if the execution can still return N elements, then the result will contain them all. If the execution contains less than N elements, then the result will contain them all, next result(s) will contain zero elements- Parameters:
n
-- Returns:
-
reset
void reset(CommandContext ctx)
-
getCost
long getCost()
-
serialize
default Result serialize()
-
deserialize
default void deserialize(Result serializedExecutionPlan)
-
copy
default InternalExecutionPlan copy(CommandContext ctx)
-
canBeCached
boolean canBeCached()
-
getStatement
default String getStatement()
-
setStatement
default void setStatement(String stm)
-
-