Class ModelQuadHolder
- java.lang.Object
-
- org.apache.jena.arq.querybuilder.updatebuilder.ModelQuadHolder
-
- All Implemented Interfaces:
QuadHolder
public class ModelQuadHolder extends java.lang.Object implements QuadHolder
An QuadHolder that manages extracts all statements from a model as quads.
-
-
Constructor Summary
Constructors Constructor Description ModelQuadHolder(Node graph, Model model)
Constructor.ModelQuadHolder(Model model)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendedIterator<Quad>
getQuads()
Get an extended iterator over the quads this holder holds.QuadHolder
setValues(java.util.Map<Var,Node> values)
This implementation does nothing.
-
-
-
Constructor Detail
-
ModelQuadHolder
public ModelQuadHolder(Node graph, Model model)
Constructor.- Parameters:
graph
- the default graph name for the triplesmodel
- the model that is providing the triples.
-
ModelQuadHolder
public ModelQuadHolder(Model model)
Constructor. Uses Quad.defaultGraphNodeGenerated for the graph name.- Parameters:
model
- the model that is providing the triples.- See Also:
Quad.defaultGraphNodeGenerated
-
-
Method Detail
-
getQuads
public ExtendedIterator<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
public QuadHolder setValues(java.util.Map<Var,Node> values)
This implementation does nothing.- Specified by:
setValues
in interfaceQuadHolder
- Parameters:
values
- the values to set.- Returns:
- a QuadHolder in which the variables have been replaced.
-
-