Module org.apache.jena.querybuilder
Interface ConstructClause<T extends AbstractQueryBuilder<T>>
- Type Parameters:
T
- The Builder type that the clause is part of.
- All Known Implementing Classes:
ConstructBuilder
public interface ConstructClause<T extends AbstractQueryBuilder<T>>
Interface that defines the ConstructClause as per
http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rConstructTemplate
-
Method Summary
Modifier and TypeMethodDescriptionaddConstruct
(Object s, Object p, Object o) Add a construct triple.addConstruct
(org.apache.jena.graph.FrontsTriple t) Add a construct triple.addConstruct
(org.apache.jena.graph.Triple t) Add a construct triple.Get the Construct handler for this construct clause.
-
Method Details
-
addConstruct
Add a construct triple.- Parameters:
t
- The triple to add.- Returns:
- The builder for chaining.
-
addConstruct
Add a construct triple.- Parameters:
t
- The triple to add.- Returns:
- The builder for chaining.
-
addConstruct
Add a construct triple. SeeAbstractQueryBuilder.makeNode(java.lang.Object)
for conversion of the param values.- Parameters:
s
- The subject of the triple,p
- The predicate of the triple.o
- The object of the triple.- Returns:
- the builder for chaining.
-
getConstructHandler
ConstructHandler getConstructHandler()Get the Construct handler for this construct clause.- Returns:
- the construct handler used by this builder.
-