Class BaseForLogicalOps

java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
  • Field Details

    • mayReduce

      protected final boolean mayReduce
  • Constructor Details

    • BaseForLogicalOps

      public BaseForLogicalOps(boolean mayReduce)
  • Method Details

    • mayReduce

      public boolean mayReduce()
      Description copied from interface: LogicalOperator
      Indicates whether this logical operator is permitted (and potentially encouraged) to reduce duplicate solution mappings as part of its execution.

      If this method returns true, the operator may remove duplicate solution mappings if it has the capability to do so. If it returns false, the operator must preserve duplicates, even if it would otherwise be able to eliminate them.

      Specified by:
      mayReduce in interface LogicalOperator
      Returns:
      true if the operator may reduce duplicates; false otherwise.