Class ElementUtils
java.lang.Object
se.liu.ida.hefquin.jenaext.sparql.syntax.ElementUtils
This class provides useful functionality related to Jena's
representation of graph patterns as
Element
objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.sparql.syntax.Element
merge
(org.apache.jena.graph.Triple tp, org.apache.jena.sparql.syntax.Element elmt) Merges the given triple pattern into the graph pattern represented by the givenElement
object, using join semantics.static org.apache.jena.sparql.syntax.Element
merge
(org.apache.jena.sparql.core.VarExprList exprs, org.apache.jena.sparql.syntax.Element elmt) Merges the given expressions as BIND clauses into the graph pattern represented by the givenElement
object.static org.apache.jena.sparql.syntax.Element
merge
(org.apache.jena.sparql.expr.ExprList exprs, org.apache.jena.sparql.syntax.Element elmt) Merges the given expressions as filters into the graph pattern represented by the givenElement
object.
-
Constructor Details
-
ElementUtils
public ElementUtils()
-
-
Method Details
-
merge
public static org.apache.jena.sparql.syntax.Element merge(org.apache.jena.sparql.expr.ExprList exprs, org.apache.jena.sparql.syntax.Element elmt) Merges the given expressions as filters into the graph pattern represented by the givenElement
object. -
merge
public static org.apache.jena.sparql.syntax.Element merge(org.apache.jena.sparql.core.VarExprList exprs, org.apache.jena.sparql.syntax.Element elmt) Merges the given expressions as BIND clauses into the graph pattern represented by the givenElement
object. -
merge
public static org.apache.jena.sparql.syntax.Element merge(org.apache.jena.graph.Triple tp, org.apache.jena.sparql.syntax.Element elmt) Merges the given triple pattern into the graph pattern represented by the givenElement
object, using join semantics.
-