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, setArggetCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toStringisGraphPatternGroup, setGraphPatternGrouppublic 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
QueryModelNodeX extends Exceptionpublic <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 UnaryTupleOperatorX extends Exceptionpublic void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
AbstractQueryModelNodeQueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode) that throws an
IllegalArgumentException indicating that current is not a child node of this node.replaceChildNode in interface QueryModelNodereplaceChildNode in class UnaryTupleOperatorcurrent - The current child node.replacement - The new child node.public boolean equals(Object other)
QueryModelNodeequals in interface QueryModelNodeequals in class UnaryTupleOperatorpublic int hashCode()
hashCode in class UnaryTupleOperatorpublic Service clone()
QueryModelNodeclone in interface QueryModelNodeclone in interface TupleExprclone in class UnaryTupleOperatorpublic void setBaseURI(String baseURI)
baseURI - The baseURI to set.public String getBaseURI()
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.