Class BaseForLogicalOps
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
- All Implemented Interfaces:
QueryPlanOperator,LogicalOperator
- Direct Known Subclasses:
LogicalOpBind,LogicalOpDedup,LogicalOpFilter,LogicalOpFixedSolMap,LogicalOpGlobalToLocal,LogicalOpGPAdd,LogicalOpGPOptAdd,LogicalOpJoin,LogicalOpLeftJoin,LogicalOpLocalToGlobal,LogicalOpMinus,LogicalOpMultiwayJoin,LogicalOpMultiwayLeftJoin,LogicalOpMultiwayUnion,LogicalOpProject,LogicalOpRequest,LogicalOpUnfold,LogicalOpUnion
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether this logical operator is permitted (and potentially encouraged) to reduce duplicate solution mappings as part of its execution.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.logical.LogicalOperator
visitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.base.QueryPlanOperator
getExpectedVariables
-
Field Details
-
mayReduce
protected final boolean mayReduce
-
-
Constructor Details
-
BaseForLogicalOps
public BaseForLogicalOps(boolean mayReduce)
-
-
Method Details
-
mayReduce
public boolean mayReduce()Description copied from interface:LogicalOperatorIndicates 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 returnsfalse, the operator must preserve duplicates, even if it would otherwise be able to eliminate them.- Specified by:
mayReducein interfaceLogicalOperator- Returns:
trueif the operator may reduce duplicates;falseotherwise.
-