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.PropertiesBlankNodebnode-
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 BNodeTriplePatternandHas(RdfPredicateObjectList... lists)Add predicate-object lists describing this triple pattern's subjectjava.lang.StringgetQueryString()-
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:TriplePatternAdd predicate-object lists describing this triple pattern's subject- Specified by:
andHasin interfaceTriplePattern- Parameters:
lists- theRdfPredicateObjectList(s) to add- Returns:
- this triple pattern
-
getQueryString
public java.lang.String getQueryString()
- Specified by:
getQueryStringin interfaceQueryElement- Returns:
- the String representing the SPARQL syntax of this element
-
-