Class IrService
java.lang.Object
org.eclipse.rdf4j.queryrender.sparql.ir.IrNode
org.eclipse.rdf4j.queryrender.sparql.ir.IrService
Textual IR node for a SERVICE block.
The reference is kept as already-rendered text to allow either a variable, IRI, or complex expression (as produced by
the renderer) and to preserve SILENT when present.
-
Field Summary
Fields inherited from class IrNode
_className -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVars()Collect variables referenced by this node and all of its children (if any).getWhere()booleanisSilent()voidDefault no-op printing; concrete nodes override.Function-style child transformation hook used by the transform pipeline to descend into nested structures.Methods inherited from class IrNode
isNewScope, setNewScope
-
Constructor Details
-
IrService
-
-
Method Details
-
getServiceRefText
-
isSilent
public boolean isSilent() -
getWhere
-
print
-
transformChildren
Description copied from class:IrNodeFunction-style child transformation hook used by the transform pipeline to descend into nested structures. Contract: - Leaf nodes returnthisunchanged. - Container nodes return a new instance with their immediate children transformed using the provided operator. - Implementations must not mutatethisor its existing children.- Overrides:
transformChildrenin classIrNode
-
getVars
Description copied from class:IrNodeCollect variables referenced by this node and all of its children (if any). Default implementation returns an empty set; container and triple-like nodes override to include their own Vars and recurse into child nodes.
-