Class QueryPattern
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.QueryPattern
- All Implemented Interfaces:
QueryElement
A SPARQL Query Pattern (
WHERE
clause)- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionwhere
(GraphPattern... patterns) Add graph patterns to this query pattern.where
(GraphPatternNotTriples where) Set this query pattern's where clause
-
Method Details
-
where
Add graph patterns to this query pattern. Adds the given patterns into this query pattern's group graph pattern- Parameters:
patterns
- the patterns to add- Returns:
- this
-
where
Set this query pattern's where clause- Parameters:
where
- theGraphPatternNotTriples
instance to set the where clause to- Returns:
- this QueryPattern instance
-
getQueryString
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-