public class ExclusiveArbitraryLengthPath extends ArbitraryLengthPath implements ExclusiveTupleExpr, ExclusiveTupleExprRenderer
ArbitraryLengthPath node which can be evaluated at a single node.| Constructor and Description |
|---|
ExclusiveArbitraryLengthPath(ArbitraryLengthPath path,
StatementSource owner,
QueryInfo queryInfo) |
| Modifier and Type | Method and Description |
|---|---|
ExclusiveArbitraryLengthPath |
clone()
Returns a (deep) clone of this query model node.
|
List<String> |
getFreeVars() |
StatementSource |
getOwner() |
QueryInfo |
getQueryInfo()
Retrieve the attached query information of the tuple expression
|
TupleExpr |
toQueryAlgebra(Set<String> varNames,
BindingSet bindings)
Returns a SPARQL algebra representation of this expression that can be inserted into a SELECT
TupleExpr |
String |
toQueryString(Set<String> varNames,
BindingSet bindings)
Returns a SPARQL string representation of this expression that can be inserted into a SELECT query.
|
equals, getAssuredBindingNames, getBindingNames, getContextVar, getMinLength, getObjectVar, getPathExpression, getScope, getSignature, getSubjectVar, hashCode, replaceChildNode, setContextVar, setMinLength, setObjectVar, setPathExpression, setScope, setSubjectVar, visit, visitChildrengetCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetFreeVarCountgetAssuredBindingNames, getBindingNamesequals, getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceChildNode, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString, visit, visitChildrenpublic ExclusiveArbitraryLengthPath(ArbitraryLengthPath path, StatementSource owner, QueryInfo queryInfo)
public StatementSource getOwner()
getOwner in interface ExclusiveTupleExprpublic ExclusiveArbitraryLengthPath clone()
QueryModelNodeclone in interface QueryModelNodeclone in interface TupleExprclone in class ArbitraryLengthPathpublic String toQueryString(Set<String> varNames, BindingSet bindings)
ExclusiveTupleExprRendererImplementations are required to create a valid query string for this expression where the given bindings are inserted.
toQueryString in interface ExclusiveTupleExprRenderervarNames - the set of resulting (unbound) variables from this expressionbindings - the optional input bindingspublic TupleExpr toQueryAlgebra(Set<String> varNames, BindingSet bindings)
ExclusiveTupleExprRendererTupleExpr
Implementations are required to create a new equivalent expression or clone, where any provided input bindings are inserted. The free variable names after insertion need to be added to the provided set.
toQueryAlgebra in interface ExclusiveTupleExprRenderervarNames - the set of resulting (unbound) variables from this expressionbindings - the input bindings that need to be insertedpublic List<String> getFreeVars()
getFreeVars in interface VariableExprpublic QueryInfo getQueryInfo()
QueryRefgetQueryInfo in interface QueryRefQueryInfoCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.