Class RdfPredicateObjectListCollection
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<RdfPredicateObjectList>
org.eclipse.rdf4j.sparqlbuilder.rdf.RdfPredicateObjectListCollection
- All Implemented Interfaces:
QueryElement
public class RdfPredicateObjectListCollection
extends QueryElementCollection<RdfPredicateObjectList>
An RDF predicate-object list collection
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
elements
-
Method Summary
Modifier and TypeMethodDescriptionandHas
(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects) Add a predicate path with an object list to this collection.add predicate-object lists to this collectionandHas
(RdfPredicateObjectList... lists) add predicate-object lists to this collectionandHas
(RdfPredicate predicate, RdfObject... objects) add predicate-object lists to this collectionMethods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
addElements, addElements, getQueryString, isEmpty
-
Method Details
-
andHas
add predicate-object lists to this collection- Parameters:
predicate
- the predicate of the predicate-object list to addobjects
- the object or objects to add- Returns:
- this instance
-
andHas
public RdfPredicateObjectListCollection andHas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects) Add a predicate path with an object list to this collection.- Parameters:
propertyPathConfigurer
- an object that configures the pathobjects
- the objects to add- Returns:
-
andHas
add predicate-object lists to this collection- Parameters:
predicate
- the predicate of the predicate-object list to addobjects
- the object or objects to add- Returns:
- this instance
-
andHas
add predicate-object lists to this collection- Parameters:
lists
- theRdfPredicateObjectList
's to add to this collection- Returns:
- this instance
-