Class TriplesTemplate
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<TriplePattern>
org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection<TriplePattern>
org.eclipse.rdf4j.sparqlbuilder.core.TriplesTemplate
- All Implemented Interfaces:
QueryElement
Represents a collection of triple patterns
-
Field Summary
Fields inherited from class QueryElementCollection
elements -
Method Summary
Methods inherited from class StandardQueryElementCollection
getQueryString, printBodyIfEmpty, printNameIfEmpty, resetWrapperMethod, setOperatorName, setOperatorName, setWrapperMethodModifier and TypeMethodDescriptionprotected voidprintBodyIfEmpty(boolean printBodyIfEmpty) protected voidprintNameIfEmpty(boolean printNameIfEmpty) protected voidprotected voidsetOperatorName(String operatorName) protected voidsetOperatorName(String operatorName, boolean pad) protected voidsetWrapperMethod(Function<String, String> wrapperMethod) Methods inherited from class QueryElementCollection
addElements, addElements, isEmptyModifier and TypeMethodDescriptionprotected <O> voidaddElements(Function<? super O, ? extends TriplePattern> mapper, O... os) protected voidaddElements(TriplePattern... queryElements) booleanisEmpty()
-
Method Details
-
and
add triples to this template- Parameters:
triples- the triples to add- Returns:
- this TriplesTemplate instance
-