Class IrFilter
java.lang.Object
org.eclipse.rdf4j.queryrender.sparql.ir.IrNode
org.eclipse.rdf4j.queryrender.sparql.ir.IrFilter
Textual IR node for a FILTER line.
Two forms are supported: - Plain condition text:
FILTER (<text>) where text is already rendered by the
renderer. - Structured bodies: IrExists and IrNot(IrExists) to support EXISTS/NOT EXISTS
blocks with a nested IrBGP. Unknown structured bodies are emitted as a comment to avoid silent misrendering.-
Field Summary
Fields inherited from class IrNode
_className -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class IrNode
isNewScope, setNewScope
-
Constructor Details
-
IrFilter
-
IrFilter
-
-
Method Details
-
getConditionText
-
getBody
-
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.
-