public class CheckStatementPattern extends Object implements StatementTupleExpr, BoundJoinTupleExpr
| Modifier and Type | Field and Description | 
|---|---|
| protected String | id | 
| protected QueryInfo | queryInfo | 
| protected StatementTupleExpr | stmt | 
| Constructor and Description | 
|---|
| CheckStatementPattern(StatementTupleExpr stmt,
                     QueryInfo queryInfo) | 
| Modifier and Type | Method and Description | 
|---|---|
| CheckStatementPattern | clone()Returns a (deep) clone of this query model node. | 
| CloseableIteration<BindingSet,QueryEvaluationException> | evaluate(BindingSet bindings)Evaluate this expression using the provided bindings | 
| 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. | 
| int | getFreeVarCount() | 
| List<String> | getFreeVars() | 
| String | getId() | 
| QueryModelNode | getParentNode()Gets the node's parent. | 
| QueryInfo | getQueryInfo()Retrieve the attached query information of the tuple expression | 
| String | getSignature()Returns the signature of this query model node. | 
| StatementPattern | getStatementPattern() | 
| List<StatementSource> | getStatementSources() | 
| boolean | hasFreeVarsFor(BindingSet binding)returns true iff this statement has free variables in the presence of the specified binding set | 
| void | replaceChildNode(QueryModelNode current,
                QueryModelNode replacement)Replaces one of the child nodes with a new node. | 
| void | replaceWith(QueryModelNode replacement)Substitutes this node with a new node in the query model tree. | 
| void | setParentNode(QueryModelNode parent)Sets the node's parent. | 
| <X extends Exception> | visit(QueryModelVisitor<X> visitor)Visits this node. | 
| <X extends Exception> | visitChildren(QueryModelVisitor<X> visitor)Visits the children of this node. | 
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, toStringprotected final StatementTupleExpr stmt
protected final String id
protected final QueryInfo queryInfo
public CheckStatementPattern(StatementTupleExpr stmt, QueryInfo queryInfo)
public StatementPattern getStatementPattern()
public int getFreeVarCount()
getFreeVarCount in interface FedXTupleExprpublic List<String> getFreeVars()
getFreeVars in interface VariableExprpublic String getId()
getId in interface StatementTupleExprpublic List<StatementSource> getStatementSources()
getStatementSources in interface StatementTupleExprpublic boolean hasFreeVarsFor(BindingSet binding)
StatementTupleExprhasFreeVarsFor in interface StatementTupleExprpublic Set<String> getAssuredBindingNames()
TupleExprgetAssuredBindingNames in interface TupleExprpublic Set<String> getBindingNames()
TupleExprgetBindingNames in interface TupleExprpublic QueryModelNode getParentNode()
QueryModelNodegetParentNode in interface QueryModelNodepublic String getSignature()
QueryModelNodeQueryModelNode.toString().getSignature in interface QueryModelNodepublic void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
QueryModelNodereplaceChildNode in interface QueryModelNodecurrent - The current child node.replacement - The new child node.public void replaceWith(QueryModelNode replacement)
QueryModelNodereplaceWith in interface QueryModelNodereplacement - The new node.public void setParentNode(QueryModelNode parent)
QueryModelNodesetParentNode in interface QueryModelNodeparent - The parent node for this node.public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodevisit in interface QueryModelNodeX extends Exceptionpublic <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodeQueryModelNode.visit(QueryModelVisitor) on all of its child nodes.visitChildren in interface QueryModelNodeX extends Exceptionpublic CheckStatementPattern clone()
QueryModelNodepublic CloseableIteration<BindingSet,QueryEvaluationException> evaluate(BindingSet bindings) throws QueryEvaluationException
StatementTupleExprevaluate in interface StatementTupleExprQueryEvaluationExceptionpublic QueryInfo getQueryInfo()
QueryRefgetQueryInfo in interface QueryRefQueryInfoCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.