Class GraphWrapper

java.lang.Object
org.apache.jena.sparql.graph.GraphWrapper
All Implemented Interfaces:
org.apache.jena.graph.Graph
Direct Known Subclasses:
BufferingGraph, GraphRDFS, GraphTxn

public class GraphWrapper extends Object implements org.apache.jena.graph.Graph
Graph wrapper
  • Field Summary

    Fields inherited from interface org.apache.jena.graph.Graph

    emptyGraph
  • Constructor Summary

    Constructors
    Constructor
    Description
    GraphWrapper(org.apache.jena.graph.Graph graph)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(org.apache.jena.graph.Triple t)
     
    void
     
    void
     
    boolean
    contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
     
    boolean
    contains(org.apache.jena.graph.Triple t)
     
    void
    delete(org.apache.jena.graph.Triple t)
     
    boolean
    dependsOn(org.apache.jena.graph.Graph other)
     
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
    find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
     
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
    find(org.apache.jena.graph.Triple triple)
     
    org.apache.jena.graph.Graph
    get()
     
    org.apache.jena.graph.Capabilities
     
    org.apache.jena.graph.GraphEventManager
     
    org.apache.jena.shared.PrefixMapping
     
    org.apache.jena.graph.TransactionHandler
     
    boolean
     
    boolean
     
    boolean
    isIsomorphicWith(org.apache.jena.graph.Graph g)
     
    void
    remove(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
     
    int
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.jena.graph.Graph

    add, delete, find, sizeLong, stream, stream
  • Constructor Details

    • GraphWrapper

      public GraphWrapper(org.apache.jena.graph.Graph graph)
  • Method Details

    • get

      public org.apache.jena.graph.Graph get()
    • add

      public void add(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.AddDeniedException
      Specified by:
      add in interface org.apache.jena.graph.Graph
      Throws:
      org.apache.jena.shared.AddDeniedException
    • dependsOn

      public boolean dependsOn(org.apache.jena.graph.Graph other)
      Specified by:
      dependsOn in interface org.apache.jena.graph.Graph
    • getTransactionHandler

      public org.apache.jena.graph.TransactionHandler getTransactionHandler()
      Specified by:
      getTransactionHandler in interface org.apache.jena.graph.Graph
    • getCapabilities

      public org.apache.jena.graph.Capabilities getCapabilities()
      Specified by:
      getCapabilities in interface org.apache.jena.graph.Graph
    • getEventManager

      public org.apache.jena.graph.GraphEventManager getEventManager()
      Specified by:
      getEventManager in interface org.apache.jena.graph.Graph
    • getPrefixMapping

      public org.apache.jena.shared.PrefixMapping getPrefixMapping()
      Specified by:
      getPrefixMapping in interface org.apache.jena.graph.Graph
    • delete

      public void delete(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.DeleteDeniedException
      Specified by:
      delete in interface org.apache.jena.graph.Graph
      Throws:
      org.apache.jena.shared.DeleteDeniedException
    • find

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Triple triple)
      Specified by:
      find in interface org.apache.jena.graph.Graph
    • find

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Specified by:
      find in interface org.apache.jena.graph.Graph
    • isIsomorphicWith

      public boolean isIsomorphicWith(org.apache.jena.graph.Graph g)
      Specified by:
      isIsomorphicWith in interface org.apache.jena.graph.Graph
    • contains

      public boolean contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Specified by:
      contains in interface org.apache.jena.graph.Graph
    • contains

      public boolean contains(org.apache.jena.graph.Triple t)
      Specified by:
      contains in interface org.apache.jena.graph.Graph
    • close

      public void close()
      Specified by:
      close in interface org.apache.jena.graph.Graph
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.apache.jena.graph.Graph
    • size

      public int size()
      Specified by:
      size in interface org.apache.jena.graph.Graph
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.apache.jena.graph.Graph
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.jena.graph.Graph
    • remove

      public void remove(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Specified by:
      remove in interface org.apache.jena.graph.Graph