Class FilterExistsGraphPattern
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<GraphPattern>
-
- org.eclipse.rdf4j.sparqlbuilder.graphpattern.GroupGraphPattern
-
- org.eclipse.rdf4j.sparqlbuilder.graphpattern.FilterExistsGraphPattern
-
- All Implemented Interfaces:
QueryElement
,GraphPattern
class FilterExistsGraphPattern extends GroupGraphPattern
A SPARQL Graph Pattern Filter- See Also:
- Filtering using Graph Pattern
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
exists
private static java.lang.String
EXISTS
private static java.lang.String
FILTER
private static java.lang.String
NOT
-
Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.graphpattern.GroupGraphPattern
isOptional
-
Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
elements
-
-
Constructor Summary
Constructors Constructor Description FilterExistsGraphPattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) FilterExistsGraphPattern
exists(boolean exists)
java.lang.String
getQueryString()
-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.graphpattern.GroupGraphPattern
and, copy, filter, from, isEmpty, optional
-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
addElements, addElements
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.sparqlbuilder.graphpattern.GraphPattern
filterExists, filterExists, filterNotExists, minus, optional, union
-
-
-
-
Field Detail
-
FILTER
private static final java.lang.String FILTER
- See Also:
- Constant Field Values
-
NOT
private static final java.lang.String NOT
- See Also:
- Constant Field Values
-
EXISTS
private static final java.lang.String EXISTS
- See Also:
- Constant Field Values
-
exists
private boolean exists
-
-
Method Detail
-
exists
FilterExistsGraphPattern exists(boolean exists)
-
getQueryString
public java.lang.String getQueryString()
- Specified by:
getQueryString
in interfaceQueryElement
- Overrides:
getQueryString
in classGroupGraphPattern
- Returns:
- the String representing the SPARQL syntax of this element
-
-