Package com.arcadedb.query.sql.executor
Class InsertExecutionPlan
- java.lang.Object
-
- com.arcadedb.query.sql.executor.SelectExecutionPlan
-
- com.arcadedb.query.sql.executor.InsertExecutionPlan
-
- All Implemented Interfaces:
ExecutionPlan
,InternalExecutionPlan
,Serializable
public class InsertExecutionPlan extends SelectExecutionPlan
- Author:
- Luigi Dell'Aquila (luigi.dellaquila-(at)-gmail.com)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.arcadedb.query.sql.executor.SelectExecutionPlan
steps
-
Fields inherited from interface com.arcadedb.query.sql.executor.InternalExecutionPlan
JAVA_TYPE
-
-
Constructor Summary
Constructors Constructor Description InsertExecutionPlan(CommandContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeCached()
void
executeInternal()
ResultSet
fetchNext(int n)
if the execution can still return N elements, then the result will contain them all.void
reset(CommandContext ctx)
Result
toResult()
-
Methods inherited from class com.arcadedb.query.sql.executor.SelectExecutionPlan
chain, close, copy, deserialize, getCost, getSteps, prettyPrint, serialize, setSteps
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.arcadedb.query.sql.executor.InternalExecutionPlan
getStatement, setStatement
-
-
-
-
Constructor Detail
-
InsertExecutionPlan
public InsertExecutionPlan(CommandContext ctx)
-
-
Method Detail
-
fetchNext
public ResultSet fetchNext(int n)
Description copied from interface:InternalExecutionPlan
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- Specified by:
fetchNext
in interfaceInternalExecutionPlan
- Overrides:
fetchNext
in classSelectExecutionPlan
- Returns:
-
reset
public void reset(CommandContext ctx)
- Specified by:
reset
in interfaceInternalExecutionPlan
- Overrides:
reset
in classSelectExecutionPlan
-
executeInternal
public void executeInternal() throws CommandExecutionException
- Throws:
CommandExecutionException
-
toResult
public Result toResult()
- Specified by:
toResult
in interfaceExecutionPlan
- Overrides:
toResult
in classSelectExecutionPlan
-
canBeCached
public boolean canBeCached()
- Specified by:
canBeCached
in interfaceInternalExecutionPlan
- Overrides:
canBeCached
in classSelectExecutionPlan
-
-