Class PhysicalOpMultiwayUnion
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOps
se.liu.ida.hefquin.engine.queryplan.physical.impl.PhysicalOpMultiwayUnion
- All Implemented Interfaces:
NaryPhysicalOp,NaryPhysicalOpForLogicalOp,PhysicalOperator,PhysicalOperatorForLogicalOperator
public class PhysicalOpMultiwayUnion
extends BaseForPhysicalOps
implements NaryPhysicalOpForLogicalOp
A physical operator that implements a multi-way union.
The actual algorithm of this operator is implemented
in the
ExecOpMultiwayUnion class.-
Field Summary
Fields inherited from class se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOps
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExecOp(boolean collectExceptions, ExpectedVariables... inputVars) Creates and returns the executable operator to be used for this physical operator.booleangetExpectedVariables(ExpectedVariables... inputVars) Returns the variables that can be expected in the solution mappings produced by this operator if the input(s) to this operator contain solutions mappings with the given set(s) of variables.Returns the logical operator implemented by this physical operator.inthashCode()toString()voidvisit(PhysicalPlanVisitor visitor) Methods inherited from class se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOps
getIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.physical.PhysicalOperator
getID
-
Constructor Details
-
PhysicalOpMultiwayUnion
public PhysicalOpMultiwayUnion()
-
-
Method Details
-
getExpectedVariables
Description copied from interface:PhysicalOperatorReturns the variables that can be expected in the solution mappings produced by this operator if 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 interfacePhysicalOperator
-
visit
- Specified by:
visitin interfacePhysicalOperator
-
createExecOp
Description copied from interface:PhysicalOperatorCreates and returns the executable operator to be used for this physical operator. The implementation of this method has to create a newExecutableOperatorobject each time it is called. The given collectExceptions flag is passed to the executable operator and determines whether that operator collects its exceptions (seeExecutableOperator.getExceptionsCaughtDuringExecution()) or throws them immediately. The number ofExpectedVariablesobjects passed as arguments 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:
createExecOpin interfaceNaryPhysicalOp- Specified by:
createExecOpin interfacePhysicalOperator
-
getLogicalOperator
Description copied from interface:PhysicalOperatorForLogicalOperatorReturns the logical operator implemented by this physical operator.- Specified by:
getLogicalOperatorin interfaceNaryPhysicalOpForLogicalOp- Specified by:
getLogicalOperatorin interfacePhysicalOperatorForLogicalOperator
-
equals
-
hashCode
public int hashCode() -
toString
-