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 SingleSourceQuerys, 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, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFreeVarCountequals, getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceChildNode, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toStringpublic PassThroughTupleExpr(TupleExpr parsedQuery, TupleQueryResultHandler resultHandler)
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X extends Exception
AbstractQueryModelNodeQueryModelNode.visitChildren(org.eclipse.rdf4j.query.algebra.QueryModelVisitor<X>) that does nothing. Subclasses should override this
method when they have child nodes.visitChildren in interface QueryModelNodevisitChildren in class AbstractQueryModelNodeX extends Exceptionpublic TupleQueryResultHandler getResultHandler()
public TupleExpr getExpr()
public boolean isPassedThrough()
TupleQueryResultHandlerpublic void setPassedThrough(boolean flag)
public Set<String> getBindingNames()
TupleExprgetBindingNames in interface TupleExprpublic Set<String> getAssuredBindingNames()
TupleExprgetAssuredBindingNames in interface TupleExprpublic PassThroughTupleExpr clone()
QueryModelNodeclone in interface QueryModelNodeclone in interface TupleExprclone in class AbstractQueryModelNodepublic <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodevisit in interface QueryModelNodeX extends Exceptionpublic List<String> getFreeVars()
getFreeVars in interface VariableExprpublic QueryInfo getQueryInfo()
QueryRefgetQueryInfo in interface QueryRefQueryInfoCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.