Class LogicalOpMultiRequest
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
se.liu.ida.hefquin.engine.queryplan.logical.impl.LogicalOpMultiRequest
- All Implemented Interfaces:
QueryPlanOperator,LogicalOperator,NullaryLogicalOp
This operator has three arguments:
i) a SPARQL graph pattern P (given in the form of a
SPARQLRequest,
ii) a variable ?v, and
iii) a set of federation members.
The evaluation semantics is equivalent to the one of the following SPARQL
query, assuming that the URIs in the VALUES clause are the service URIs
of the given federation members.
SELECT * WHERE {
VALUES ?v { ex:serviceURI_1 ex:serviceURI_2 ... ex:serviceURI_n }
SERVICE ?v {
# pattern P
}
}
Notice that every solution mapping in the result of this operator will
bind the given variable ?v to the service URI of the federation member
from which the rest of this solution mapping has been received.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Set<FederationMember> protected final SPARQLRequestprotected final org.apache.jena.sparql.core.VarFields inherited from class se.liu.ida.hefquin.engine.queryplan.logical.impl.BaseForLogicalOps
mayReduce -
Constructor Summary
ConstructorsConstructorDescriptionLogicalOpMultiRequest(SPARQLRequest req, org.apache.jena.sparql.core.Var var, Set<FederationMember> fms) -
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.org.apache.jena.sparql.core.VarinthashCode()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
-
req
-
var
protected final org.apache.jena.sparql.core.Var var -
fms
-
-
Constructor Details
-
LogicalOpMultiRequest
public LogicalOpMultiRequest(SPARQLRequest req, org.apache.jena.sparql.core.Var var, Set<FederationMember> fms)
-
-
Method Details
-
getRequest
-
getServiceVariable
public org.apache.jena.sparql.core.Var getServiceVariable() -
getFederationMembers
-
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
-