Class IrStatementPattern
java.lang.Object
org.eclipse.rdf4j.queryrender.sparql.ir.IrNode
org.eclipse.rdf4j.queryrender.sparql.ir.IrTripleLike
org.eclipse.rdf4j.queryrender.sparql.ir.IrStatementPattern
Textual IR node for a simple triple pattern line.
-
Field Summary
Fields inherited from class IrNode
_className -
Constructor Summary
ConstructorsConstructorDescriptionIrStatementPattern(Var subject, Var predicate, Var object, boolean newScope) -
Method Summary
Methods inherited from class IrTripleLike
getObject, getObjectOverride, getSubject, getSubjectOverride, setObjectOverride, setSubjectOverrideMethods inherited from class IrNode
isNewScope, setNewScope, transformChildren
-
Constructor Details
-
IrStatementPattern
-
-
Method Details
-
getPredicate
-
getPredicateOrPathText
Description copied from class:IrTripleLikeRender the predicate or path as compact textual IR suitable for inclusion in a property path. For simple statement patterns this typically returns a compact IRI (possibly prefixed); for path triples it returns the already-rendered path text. Implementations should return null when no safe textual representation exists (e.g., non-constant predicate in a statement pattern).- Specified by:
getPredicateOrPathTextin classIrTripleLike
-
print
-
toString
-
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.- Overrides:
getVarsin classIrTripleLike
-