Class PullBasedExecPlanTaskBase

java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.ExecPlanTaskBase
se.liu.ida.hefquin.engine.queryplan.executable.impl.pullbased.PullBasedExecPlanTaskBase
All Implemented Interfaces:
Runnable, StatsProvider, ExecPlanTask
Direct Known Subclasses:
PullBasedExecPlanTaskForBinaryOperator, PullBasedExecPlanTaskForNullaryOperator, PullBasedExecPlanTaskForUnaryOperator

public abstract class PullBasedExecPlanTaskBase extends ExecPlanTaskBase
Pull-based implementation of ExecPlanTask. This implementation makes several assumptions: 1) There is only one thread that consumes the output of this task (by calling getNextIntermediateResultBlock()). 2) If a task consumes the output of another task as input, then that other task must already be running before the consuming task is started.