Class BaseForPhysicalOpSingleInputJoin
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOps
se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOpSingleInputJoin
- All Implemented Interfaces:
PhysicalOperator,PhysicalOperatorForLogicalOperator,UnaryPhysicalOp,UnaryPhysicalOpForLogicalOp
- Direct Known Subclasses:
PhysicalOpBindJoin,PhysicalOpBindJoinWithFILTER,PhysicalOpBindJoinWithUNION,PhysicalOpBindJoinWithVALUES,PhysicalOpIndexNestedLoopsJoin
public abstract class BaseForPhysicalOpSingleInputJoin
extends BaseForPhysicalOps
implements UnaryPhysicalOpForLogicalOp
Base class for physical operators that implement some form of a join
algorithm that consumes only one input and produces the other input
as part of the algorithm itself.
-
Field Summary
FieldsFields inherited from class se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOps
id -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedThe given logical operator is expected to be of one of the following six types:LogicalOpTPAdd,LogicalOpTPOptAdd,LogicalOpBGPAdd,LogicalOpBGPOptAdd,LogicalOpGPAdd, orLogicalOpGPOptAdd. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetExpectedVariables(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()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, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.physical.PhysicalOperator
getID, visitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.physical.UnaryPhysicalOp
createExecOp
-
Field Details
-
lop
-
-
Constructor Details
-
BaseForPhysicalOpSingleInputJoin
The given logical operator is expected to be of one of the following six types:LogicalOpTPAdd,LogicalOpTPOptAdd,LogicalOpBGPAdd,LogicalOpBGPOptAdd,LogicalOpGPAdd, orLogicalOpGPOptAdd.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getLogicalOperator
Description copied from interface:PhysicalOperatorForLogicalOperatorReturns the logical operator implemented by this physical operator.- Specified by:
getLogicalOperatorin interfacePhysicalOperatorForLogicalOperator- Specified by:
getLogicalOperatorin interfaceUnaryPhysicalOpForLogicalOp
-
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
-