Class BaseForExecOps

java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.ops.BaseForExecOps
All Implemented Interfaces:
StatsProvider, ExecutableOperator
Direct Known Subclasses:
BinaryExecutableOpBase, NaryExecutableOpBase, NullaryExecutableOpBase, UnaryExecutableOpBase

public abstract class BaseForExecOps extends Object implements ExecutableOperator
Top-level base class for all implementations of ExecutableOperator. This base class handles the collection of exceptions that may occur during the execution of the algorithm implemented by an executable operator, and it stores the QueryPlanningInfo (if any).
  • Field Details

    • qpInfo

      protected final QueryPlanningInfo qpInfo
      May be null.
    • collectExceptions

      protected final boolean collectExceptions
      If true, then the subclasses are expected to collect exceptions (by calling recordExceptionCaughtDuringExecution(Exception)); otherwise, they are expected to throw the exceptions immediately.
    • mayReduce

      protected final boolean mayReduce
      If true, then the executable operator is permitted (and encouraged) to reduce duplicate solution mappings as part of its execution; otherwise, the operator must preserve duplicates.
  • Constructor Details

    • BaseForExecOps

      public BaseForExecOps(boolean mayReduce, boolean collectExceptions, QueryPlanningInfo qpInfo)
      Parameters:
      collectExceptions - - if true, then the subclasses are expected to collect exceptions (by calling recordExceptionCaughtDuringExecution(Exception)); otherwise, they are expected to throw the exceptions immediately
      qpInfo - - may be null
  • Method Details