Class BNodeTriplePattern
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.graphpattern.BNodeTriplePattern
-
- All Implemented Interfaces:
QueryElement
,GraphPattern
,TriplePattern
class BNodeTriplePattern extends java.lang.Object implements TriplePattern
A triple pattern formed by a property-list blank node- See Also:
- blank node syntax
-
-
Field Summary
Fields Modifier and Type Field Description private RdfBlankNode.PropertiesBlankNode
bnode
-
Fields inherited from interface org.eclipse.rdf4j.sparqlbuilder.graphpattern.TriplePattern
SUFFIX
-
-
Constructor Summary
Constructors Constructor Description BNodeTriplePattern(RdfBlankNode.PropertiesBlankNode subject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BNodeTriplePattern
andHas(RdfPredicateObjectList... lists)
Add predicate-object lists describing this triple pattern's subjectjava.lang.String
getQueryString()
-
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
and, filter, filterExists, filterExists, filterNotExists, from, minus, optional, optional, union
-
-
-
-
Field Detail
-
bnode
private final RdfBlankNode.PropertiesBlankNode bnode
-
-
Constructor Detail
-
BNodeTriplePattern
BNodeTriplePattern(RdfBlankNode.PropertiesBlankNode subject)
-
-
Method Detail
-
andHas
public BNodeTriplePattern andHas(RdfPredicateObjectList... lists)
Description copied from interface:TriplePattern
Add predicate-object lists describing this triple pattern's subject- Specified by:
andHas
in interfaceTriplePattern
- Parameters:
lists
- theRdfPredicateObjectList
(s) to add- Returns:
- this triple pattern
-
getQueryString
public java.lang.String getQueryString()
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-
-