Class LogicalOpMinus
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
se.liu.ida.hefquin.engine.queryplan.logical.impl.LogicalOpMinus
- All Implemented Interfaces:
QueryPlanOperator,BinaryLogicalOp,LogicalOperator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final LogicalOpMinusprotected static final LogicalOpMinusFields inherited from class se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
mayReduce -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetExpectedVariables(ExpectedVariables... inputVars) Returns the variables that can be expected in the solution mappings produced by this operator in the case that the input(s) to this operator contain solutions mappings with the given set(s) of variables.static LogicalOpMinusReturns the singleton instance ofLogicalOpMinusthat does not reduce duplicates.static LogicalOpMinusgetInstance(boolean mayReduce) inthashCode()toString()voidvisit(LogicalPlanVisitor visitor) Methods inherited from class se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
mayReduceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.logical.LogicalOperator
mayReduce
-
Field Details
-
singletonWithoutReduction
-
singletonThatMayReduce
-
-
Constructor Details
-
LogicalOpMinus
protected LogicalOpMinus(boolean mayReduce)
-
-
Method Details
-
getInstance
-
getInstance
Returns the singleton instance ofLogicalOpMinusthat does not reduce duplicates.This is equivalent to calling
getInstance(boolean)with the argumentfalse.- Returns:
- the singleton instance that does not reduce duplicates
-
getExpectedVariables
Description copied from interface:QueryPlanOperatorReturns the variables that can be expected in the solution mappings produced by this operator in the case that the input(s) to this operator contain solutions mappings with the given set(s) of variables. The number ofExpectedVariablesobjects passed to this method must be in line with the degree of this operator (e.g., for a unary operator, exactly one such object must be passed).- Specified by:
getExpectedVariablesin interfaceQueryPlanOperator
-
visit
- Specified by:
visitin interfaceLogicalOperator
-
equals
-
hashCode
-
toString
-