public class PassThroughTupleExpr extends AbstractQueryModelNode implements FedXTupleExpr
TupleExpr
that is used from FedXTupleQuery.evaluate(TupleQueryResultHandler)
to allow for
passing through of results to the handler.
Passing through of results to the handler is supported for SingleSourceQuery
s, i.e. if the original query is
sent as is to the single relevant source. In this case no materialization and in-memory handling through FedX is
done, if a TupleQueryResultHandler
is supplied.
Constructor and Description |
---|
PassThroughTupleExpr(TupleExpr parsedQuery,
TupleQueryResultHandler resultHandler) |
Modifier and Type | Method and Description |
---|---|
PassThroughTupleExpr |
clone()
Returns a (deep) clone of this query model node.
|
Set<String> |
getAssuredBindingNames()
Gets the names of the bindings that are guaranteed to be present in the results produced by this tuple
expression.
|
Set<String> |
getBindingNames()
Gets the names of the bindings that are, or can be, returned by this tuple expression when it is evaluated.
|
TupleExpr |
getExpr() |
List<String> |
getFreeVars() |
QueryInfo |
getQueryInfo()
Retrieve the attached query information of the tuple expression
|
TupleQueryResultHandler |
getResultHandler() |
boolean |
isPassedThrough() |
void |
setPassedThrough(boolean flag) |
<X extends Exception> |
visit(QueryModelVisitor<X> visitor)
Visits this node.
|
<X extends Exception> |
visitChildren(QueryModelVisitor<X> visitor)
Dummy implementation of
QueryModelNode.visitChildren(org.eclipse.rdf4j.query.algebra.QueryModelVisitor<X>) that does nothing. |
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceChildNode, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFreeVarCount
equals, getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceChildNode, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString
public PassThroughTupleExpr(TupleExpr parsedQuery, TupleQueryResultHandler resultHandler)
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X extends Exception
AbstractQueryModelNode
QueryModelNode.visitChildren(org.eclipse.rdf4j.query.algebra.QueryModelVisitor<X>)
that does nothing. Subclasses should override this
method when they have child nodes.visitChildren
in interface QueryModelNode
visitChildren
in class AbstractQueryModelNode
X extends Exception
public TupleQueryResultHandler getResultHandler()
public TupleExpr getExpr()
public boolean isPassedThrough()
TupleQueryResultHandler
public void setPassedThrough(boolean flag)
public Set<String> getBindingNames()
TupleExpr
getBindingNames
in interface TupleExpr
public Set<String> getAssuredBindingNames()
TupleExpr
getAssuredBindingNames
in interface TupleExpr
public PassThroughTupleExpr clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface TupleExpr
clone
in class AbstractQueryModelNode
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNode
visit
in interface QueryModelNode
X extends Exception
public List<String> getFreeVars()
getFreeVars
in interface VariableExpr
public QueryInfo getQueryInfo()
QueryRef
getQueryInfo
in interface QueryRef
QueryInfo
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.