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:
- Predicate-Object Lists, Object Lists
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
elements
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RdfPredicateObjectListCollectionandHas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects)Add a predicate path with an object list to this collection.RdfPredicateObjectListCollectionandHas(IRI predicate, RdfObject... objects)add predicate-object lists to this collectionRdfPredicateObjectListCollectionandHas(RdfPredicateObjectList... lists)add predicate-object lists to this collectionRdfPredicateObjectListCollectionandHas(RdfPredicate predicate, RdfObject... objects)add predicate-object lists to this collection-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
addElements, addElements, getQueryString, isEmpty
-
-
-
-
Method Detail
-
andHas
public RdfPredicateObjectListCollection andHas(RdfPredicate predicate, RdfObject... objects)
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
public RdfPredicateObjectListCollection andHas(IRI predicate, RdfObject... objects)
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(RdfPredicateObjectList... lists)
add predicate-object lists to this collection- Parameters:
lists- theRdfPredicateObjectList's to add to this collection- Returns:
- this instance
-
-