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 Modifier and Type Field Description private static java.lang.StringDELIMITER-
Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
elements
-
-
Constructor Summary
Constructors Constructor Description RdfPredicateObjectListCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RdfPredicateObjectListCollectionandHas(java.util.function.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
-
-
-
-
Field Detail
-
DELIMITER
private static final java.lang.String DELIMITER
- See Also:
- Constant Field Values
-
-
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(java.util.function.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
-
-