Class LogicalOpMultiwayLeftJoin
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
se.liu.ida.hefquin.engine.queryplan.logical.impl.LogicalOpMultiwayLeftJoin
- All Implemented Interfaces:
QueryPlanOperator,LogicalOperator,NaryLogicalOp
A multiway left join corresponds to a sequence of SPARQL OPTIONAL clauses.
Hence, it is not to be confused with nested OPTIONAL clauses (which would,
instead, be captured as multiple nested multiway left joins).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final LogicalOpMultiwayLeftJoinprotected static final LogicalOpMultiwayLeftJoinFields inherited from class se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
mayReduce -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetExpectedVariables(ExpectedVariables... inputVars) Returns the variables that can be expected in the solution mappings produced by this operator in the case that the input(s) to this operator contain solutions mappings with the given set(s) of variables.static LogicalOpMultiwayLeftJoinReturns the singleton instance ofLogicalOpMultiwayLeftJointhat does not reduce duplicates.static LogicalOpMultiwayLeftJoingetInstance(boolean mayReduce) inthashCode()toString()voidvisit(LogicalPlanVisitor visitor) Methods inherited from class se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
mayReduceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.logical.LogicalOperator
mayReduce
-
Field Details
-
singletonWithoutReduction
-
singletonThatMayReduce
-
-
Constructor Details
-
LogicalOpMultiwayLeftJoin
protected LogicalOpMultiwayLeftJoin(boolean mayReduce)
-
-
Method Details
-
getInstance
-
getInstance
Returns the singleton instance ofLogicalOpMultiwayLeftJointhat does not reduce duplicates.This is equivalent to calling
getInstance(boolean)with the argumentfalse.- Returns:
- the singleton instance that does not reduce duplicates
-
getExpectedVariables
Description copied from interface:QueryPlanOperatorReturns the variables that can be expected in the solution mappings produced by this operator in the case that 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 interfaceQueryPlanOperator
-
visit
- Specified by:
visitin interfaceLogicalOperator
-
equals
-
hashCode
-
toString
-