Module org.apache.jena.querybuilder
Class QBQuadHolder
java.lang.Object
org.apache.jena.arq.querybuilder.updatebuilder.QBQuadHolder
- All Implemented Interfaces:
QuadHolder
An QuadHolder that manages AbstractQueryBuilder data.
-
Constructor Summary
ConstructorDescriptionQBQuadHolder
(AbstractQueryBuilder<?> qb) Constructor.QBQuadHolder
(org.apache.jena.graph.Node graph, AbstractQueryBuilder<?> qb) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.sparql.core.Quad>
getQuads()
Get an extended iterator over the quads this holder holds.Apply values to the variables in the quads held by this holder.
-
Constructor Details
-
QBQuadHolder
Constructor.- Parameters:
graph
- the default graph name for the triplesqb
- the AbstractQueryBuilder that is providing the triples.
-
QBQuadHolder
Constructor. Uses Quad.defaultGraphNodeGenerated for the graph name.- Parameters:
qb
- the AbstractQueryBuilder that is providing the triples.- See Also:
-
Quad.defaultGraphNodeGenerated
-
-
Method Details
-
getQuads
public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.sparql.core.Quad> getQuads()Description copied from interface:QuadHolder
Get an extended iterator over the quads this holder holds.- Specified by:
getQuads
in interfaceQuadHolder
- Returns:
- the extended iterator.
-
setValues
Description copied from interface:QuadHolder
Apply values to the variables in the quads held by this holder. May return this holder or a new holder instance.- Specified by:
setValues
in interfaceQuadHolder
- Parameters:
values
- the values to set.- Returns:
- a QuadHolder in which the variables have been replaced.
-