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
ConstructorsModifierConstructorDescriptionprotected
The given logical operator is expected to be of one of the following six types:LogicalOpTPAdd
,LogicalOpTPOptAdd
,LogicalOpBGPAdd
,LogicalOpBGPOptAdd
,LogicalOpGPAdd
, orLogicalOpGPOptAdd
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getExpectedVariables
(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.int
hashCode()
Methods inherited from class se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOps
getID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.liu.ida.hefquin.engine.queryplan.physical.PhysicalOperator
getID, visit
Methods 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:PhysicalOperatorForLogicalOperator
Returns the logical operator implemented by this physical operator.- Specified by:
getLogicalOperator
in interfacePhysicalOperatorForLogicalOperator
- Specified by:
getLogicalOperator
in interfaceUnaryPhysicalOpForLogicalOp
-
getExpectedVariables
Description copied from interface:PhysicalOperator
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. The number ofExpectedVariables
objects 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:
getExpectedVariables
in interfacePhysicalOperator
-