Class TaskBasedExecutablePlanImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.TaskBasedExecutablePlanImpl
- All Implemented Interfaces:
StatsProvider,ExecutablePlan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LinkedList<ExecPlanTask>protected ExecutorService -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns exceptions that were caught and collected during the execution of this plan (if any).getStats()voidprint(PrintStream str) voidvoidrun(QueryResultSink resultSink)
-
Field Details
-
tasks
-
threadPool
-
-
Constructor Details
-
TaskBasedExecutablePlanImpl
-
-
Method Details
-
run
- Specified by:
runin interfaceExecutablePlan- Throws:
ExecutionException
-
resetStats
public void resetStats()- Specified by:
resetStatsin interfaceStatsProvider
-
getStats
- Specified by:
getStatsin interfaceExecutablePlan- Specified by:
getStatsin interfaceStatsProvider
-
getExceptionsCaughtDuringExecution
Description copied from interface:ExecutablePlanReturns exceptions that were caught and collected during the execution of this plan (if any). If no exceptions were caught (which should be the normal case), then this function returns an empty list.- Specified by:
getExceptionsCaughtDuringExecutionin interfaceExecutablePlan
-
print
-