Interface NaryPhysicalOp
- All Superinterfaces:
PhysicalOperator,QueryPlanOperator
- All Known Subinterfaces:
NaryPhysicalOpForLogicalOp
- All Known Implementing Classes:
BaseForPhysicalOpMultiwayJoin,BaseForPhysicalOpMultiwayLeftJoin,PhysicalOpMultiwayUnion
An interface for any type of
PhysicalOperator whose algorithm
consumes an arbitrary number of sequences of solution mappings as input.-
Method Summary
Modifier and TypeMethodDescriptioncreateExecOp(boolean collectExceptions, QueryPlanningInfo qpInfo, ExpectedVariables... inputVars) Creates and returns the executable operator to be used for this physical operator.Methods inherited from interface se.liu.ida.hefquin.engine.queryplan.physical.PhysicalOperator
visitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.base.QueryPlanOperator
getExpectedVariables
-
Method Details
-
createExecOp
NaryExecutableOp createExecOp(boolean collectExceptions, QueryPlanningInfo qpInfo, ExpectedVariables... inputVars) 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 givenQueryPlanningInfoobject is passed to the created executable operator (to be available via theExecutableOperator.getQueryPlanningInfo()method) and should be taken from the physical plan whose root operator is this physical operator. 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 interfacePhysicalOperator
-