public class Service extends UnaryTupleOperator
arg
Constructor and Description |
---|
Service(Var serviceRef,
TupleExpr serviceExpr,
String serviceExpressionString,
Map<String,String> prefixDeclarations,
String baseURI,
boolean silent) |
Modifier and Type | Method and Description |
---|---|
Service |
clone()
Returns a (deep) clone of this query model node.
|
boolean |
equals(Object other)
Returns true if this query model node and its children are recursively equal to o and its
children.
|
String |
getAskQueryString()
Returns an ASK query string using no projection vars.
|
String |
getBaseURI() |
Map<String,String> |
getPrefixDeclarations() |
String |
getSelectQueryString(Set<String> projectionVars)
Returns a SELECT query string using the provided projection vars.
|
TupleExpr |
getServiceExpr() |
String |
getServiceExpressionString() |
Var |
getServiceRef() |
Set<String> |
getServiceVars() |
int |
hashCode() |
boolean |
isSilent() |
void |
replaceChildNode(QueryModelNode current,
QueryModelNode replacement)
Default implementation of
QueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode) that throws an
IllegalArgumentException indicating that current is not a child node of this node. |
void |
setBaseURI(String baseURI) |
void |
setExpressionString(String serviceExpressionString)
The SERVICE expression, either complete or just the expression e.g.
|
void |
setPrefixDeclarations(Map<String,String> prefixDeclarations) |
void |
setServiceRef(Var serviceRef) |
<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. |
getArg, getAssuredBindingNames, getBindingNames, setArg
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString
isGraphPatternGroup, setGraphPatternGroup
public Var getServiceRef()
public TupleExpr getServiceExpr()
public void setServiceRef(Var serviceRef)
public boolean isSilent()
public Map<String,String> getPrefixDeclarations()
public void setPrefixDeclarations(Map<String,String> prefixDeclarations)
prefixDeclarations
- The prefixDeclarations to set.public void setExpressionString(String serviceExpressionString)
serviceExpressionString
- the inner expression as SPARQL String representationpublic String getServiceExpressionString()
public String getAskQueryString()
public String getSelectQueryString(Set<String> projectionVars)
projectionVars
- public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNode
X extends Exception
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 UnaryTupleOperator
X extends Exception
public void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
AbstractQueryModelNode
QueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an
IllegalArgumentException
indicating that current is not a child node of this node.replaceChildNode
in interface QueryModelNode
replaceChildNode
in class UnaryTupleOperator
current
- The current child node.replacement
- The new child node.public boolean equals(Object other)
QueryModelNode
equals
in interface QueryModelNode
equals
in class UnaryTupleOperator
public int hashCode()
hashCode
in class UnaryTupleOperator
public Service clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface TupleExpr
clone
in class UnaryTupleOperator
public void setBaseURI(String baseURI)
baseURI
- The baseURI to set.public String getBaseURI()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.