java.lang.Object
org.apache.jena.arq.querybuilder.updatebuilder.ModelQuadHolder
All Implemented Interfaces:
QuadHolder

public class ModelQuadHolder extends Object implements QuadHolder
An QuadHolder that manages extracts all statements from a model as quads.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModelQuadHolder(org.apache.jena.graph.Node graph, org.apache.jena.rdf.model.Model model)
    Constructor.
    ModelQuadHolder(org.apache.jena.rdf.model.Model model)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.sparql.core.Quad>
    Get an extended iterator over the quads this holder holds.
    setValues(Map<org.apache.jena.sparql.core.Var,org.apache.jena.graph.Node> values)
    This implementation does nothing.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModelQuadHolder

      public ModelQuadHolder(org.apache.jena.graph.Node graph, org.apache.jena.rdf.model.Model model)
      Constructor.
      Parameters:
      graph - the default graph name for the triples
      model - the model that is providing the triples.
    • ModelQuadHolder

      public ModelQuadHolder(org.apache.jena.rdf.model.Model model)
      Constructor. Uses Quad.defaultGraphNodeGenerated for the graph name.
      Parameters:
      model - the model 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 interface QuadHolder
      Returns:
      the extended iterator.
    • setValues

      public QuadHolder setValues(Map<org.apache.jena.sparql.core.Var,org.apache.jena.graph.Node> values)
      This implementation does nothing.
      Specified by:
      setValues in interface QuadHolder
      Parameters:
      values - the values to set.
      Returns:
      a QuadHolder in which the variables have been replaced.