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, visitChildren
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getFreeVarCount
getAssuredBindingNames, getBindingNames
equals, getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceChildNode, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString, visit, visitChildren
public ExclusiveArbitraryLengthPath(ArbitraryLengthPath path, StatementSource owner, QueryInfo queryInfo)
public StatementSource getOwner()
getOwner
in interface ExclusiveTupleExpr
public ExclusiveArbitraryLengthPath clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface TupleExpr
clone
in class ArbitraryLengthPath
public String toQueryString(Set<String> varNames, BindingSet bindings)
ExclusiveTupleExprRenderer
Implementations are required to create a valid query string for this expression where the given bindings are inserted.
toQueryString
in interface ExclusiveTupleExprRenderer
varNames
- the set of resulting (unbound) variables from this expressionbindings
- the optional input bindingspublic TupleExpr toQueryAlgebra(Set<String> varNames, BindingSet bindings)
ExclusiveTupleExprRenderer
TupleExpr
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 ExclusiveTupleExprRenderer
varNames
- the set of resulting (unbound) variables from this expressionbindings
- the input bindings that need to be insertedpublic List<String> getFreeVars()
getFreeVars
in interface VariableExpr
public QueryInfo getQueryInfo()
QueryRef
getQueryInfo
in interface QueryRef
QueryInfo
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.