Class CollectionQuadHolder
java.lang.Object
org.apache.jena.arq.querybuilder.updatebuilder.CollectionQuadHolder
- All Implemented Interfaces:
QuadHolder
An QuadHolder that creates quads from a collection or iterator of triples.
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionQuadHolder(Collection<Triple> triples) Constructor.CollectionQuadHolder(Iterator<Triple> triples) Constructor.CollectionQuadHolder(Node graph, Collection<Triple> triples) Constructor.CollectionQuadHolder(Node graph, Iterator<Triple> triples) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetQuads()Get an extended iterator over the quads this holder holds.This implementation does nothing.
-
Constructor Details
-
CollectionQuadHolder
Constructor.- Parameters:
graph- the default graph name for the triplestriples- the collection of triples.
-
CollectionQuadHolder
Constructor.- Parameters:
graph- the default graph name for the triplestriples- the iterator of triples.
-
CollectionQuadHolder
Constructor. Uses Quad.defaultGraphNodeGenerated for the graph name.- Parameters:
triples- the collection of triples.- See Also:
-
CollectionQuadHolder
Constructor.- Parameters:
triples- the iterator of triples.
-
-
Method Details
-
getQuads
Description copied from interface:QuadHolderGet an extended iterator over the quads this holder holds.- Specified by:
getQuadsin interfaceQuadHolder- Returns:
- the extended iterator.
-
setValues
This implementation does nothing.- Specified by:
setValuesin interfaceQuadHolder- Parameters:
values- the values to set.- Returns:
- a QuadHolder in which the variables have been replaced.
-