Interface StatementTupleExpr
- All Superinterfaces:
Cloneable
,FedXTupleExpr
,QueryModelNode
,QueryRef
,Serializable
,TupleExpr
,VariableExpr
- All Known Implementing Classes:
CheckStatementPattern
,ExclusiveGroup
,ExclusiveStatement
,FedXStatementPattern
,StatementSourcePattern
Interface for any expression that can be evaluated
- Author:
- Andreas Schwarte
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(BindingSet bindings) Evaluate this expression using the provided bindingsgetId()
boolean
hasFreeVarsFor
(BindingSet binding) returns true iff this statement has free variables in the presence of the specified binding setMethods inherited from interface org.eclipse.rdf4j.federated.algebra.FedXTupleExpr
getFreeVarCount
Methods inherited from interface org.eclipse.rdf4j.query.algebra.QueryModelNode
equals, getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceChildNode, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString, visit, visitChildren
Methods inherited from interface org.eclipse.rdf4j.federated.algebra.QueryRef
getQueryInfo
Methods inherited from interface org.eclipse.rdf4j.query.algebra.TupleExpr
clone, getAssuredBindingNames, getBindingNames, getOrder, getSupportedOrders, setOrder
Methods inherited from interface org.eclipse.rdf4j.federated.algebra.VariableExpr
getFreeVars
-
Method Details
-
getId
String getId()- Returns:
- the id of this expr
-
getStatementSources
List<StatementSource> getStatementSources()- Returns:
- a list of sources that are relevant for evaluation of this expression
-
hasFreeVarsFor
returns true iff this statement has free variables in the presence of the specified binding set- Parameters:
binding
-- Returns:
- whether the statement has free vars
-
evaluate
Evaluate this expression using the provided bindings- Parameters:
bindings
-- Returns:
- the result iteration
- Throws:
QueryEvaluationException
-