Class PhysicalOpRequest<ReqType extends DataRetrievalRequest,MemberType extends FederationMember>
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.physical.impl.PhysicalOpRequest<ReqType,MemberType>
- All Implemented Interfaces:
QueryPlanOperator,NullaryPhysicalOp,NullaryPhysicalOpForLogicalOp,PhysicalOperator,PhysicalOperatorForLogicalOperator
public class PhysicalOpRequest<ReqType extends DataRetrievalRequest,MemberType extends FederationMember>
extends Object
implements NullaryPhysicalOpForLogicalOp
A physical operator that performs a request at a federation member
and, then, outputs the solution mappings obtained via this request.
The actual algorithm of this operator is implemented in the following
classes, where each of them is specific to a different type of request
and federation member.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final PhysicalOpRequest.Factoryprotected final LogicalOpRequest<ReqType, MemberType> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptioncreateExecOp(boolean collectExceptions, QueryPlanningInfo qpInfo, ExpectedVariables... inputVars) Creates and returns the executable operator to be used for this physical operator.booleanstatic PhysicalOpFactoryReturns the logical operator implemented by this physical operator.inthashCode()toString()voidvisit(PhysicalPlanVisitor visitor) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.physical.PhysicalOperatorForLogicalOperator
getExpectedVariables
-
Field Details
-
factory
-
lop
protected final LogicalOpRequest<ReqType extends DataRetrievalRequest,MemberType extends FederationMember> lop
-
-
Constructor Details
-
PhysicalOpRequest
-
-
Method Details
-
getFactory
-
getLogicalOperator
Description copied from interface:PhysicalOperatorForLogicalOperatorReturns the logical operator implemented by this physical operator.- Specified by:
getLogicalOperatorin interfaceNullaryPhysicalOpForLogicalOp- Specified by:
getLogicalOperatorin interfacePhysicalOperatorForLogicalOperator
-
createExecOp
public NullaryExecutableOp 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 interfaceNullaryPhysicalOp- Specified by:
createExecOpin interfacePhysicalOperator
-
visit
- Specified by:
visitin interfacePhysicalOperator
-
equals
-
hashCode
-
toString
-