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 booleanexistsprivate static java.lang.StringEXISTSprivate static java.lang.StringFILTERprivate static java.lang.StringNOT-
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) FilterExistsGraphPatternexists(boolean exists)java.lang.StringgetQueryString()-
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:
getQueryStringin interfaceQueryElement- Overrides:
getQueryStringin classGroupGraphPattern- Returns:
- the String representing the SPARQL syntax of this element
-
-