Class PhysicalOpBindJoinBRTPF
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOpSingleInputJoin
se.liu.ida.hefquin.engine.queryplan.physical.impl.PhysicalOpBindJoinBRTPF
- All Implemented Interfaces:
QueryPlanOperator,PhysicalOperator,PhysicalOperatorForLogicalOperator,UnaryPhysicalOp,UnaryPhysicalOpForLogicalOp
A physical operator that implements (a batching version of) the bind
join algorithm for cases in which the federation member accessed by
the algorithm supports the brTPF interface.
Semantics: This operator implements the logical operators gpAdd
(see LogicalOpGPAdd) and gpOptAdd (see LogicalOpGPOptAdd).
That is, for a given triple pattern, a federation member, and an input
sequence of solution mappings (produced by the sub-plan under this
operator), the operator produces the solutions resulting from the join
(inner or left outer) between the input solutions and the solutions of
evaluating the given triple pattern over the data of the federation
member.
Algorithm description: For a detailed description of the
actual algorithm associated with this physical operator, refer
to ExecOpSequentialBindJoinBRTPF, which provides the
implementation of this algorithm.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected static final PhysicalOpBindJoinBRTPF.FactoryFields inherited from class se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOpSingleInputJoin
lop -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPhysicalOpBindJoinBRTPF(LogicalOpGPAdd lop, int batchSize) protectedPhysicalOpBindJoinBRTPF(LogicalOpGPOptAdd lop, int batchSize) -
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 PhysicalOpFactoryinthashCode()toString()voidvisit(PhysicalPlanVisitor visitor) Methods inherited from class se.liu.ida.hefquin.engine.queryplan.physical.impl.BaseForPhysicalOpSingleInputJoin
getLogicalOperatorMethods 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
-
batchSize
protected final int batchSize
-
-
Constructor Details
-
PhysicalOpBindJoinBRTPF
-
PhysicalOpBindJoinBRTPF
-
-
Method Details
-
getFactory
-
createExecOp
public UnaryExecutableOp 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). -
visit
-
equals
-
hashCode
-
toString
-