com.hp.hpl.jena.sparql.graph
Class GraphSPARQL

java.lang.Object
  extended by com.hp.hpl.jena.graph.impl.GraphBase
      extended by com.hp.hpl.jena.sparql.graph.GraphSPARQL
All Implemented Interfaces:
com.hp.hpl.jena.graph.Graph, com.hp.hpl.jena.graph.GraphAdd, com.hp.hpl.jena.graph.impl.GraphWithPerform

public class GraphSPARQL
extends com.hp.hpl.jena.graph.impl.GraphBase
implements com.hp.hpl.jena.graph.Graph

This class provides the Jena Graph interface to a graph in a Dataset. It enables the full Jena API to be used with data only accessible via a Dataset.


Field Summary
 
Fields inherited from class com.hp.hpl.jena.graph.impl.GraphBase
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
 
Fields inherited from interface com.hp.hpl.jena.graph.Graph
emptyGraph
 
Constructor Summary
GraphSPARQL(DatasetGraph dsg, com.hp.hpl.jena.graph.Node gn)
           
GraphSPARQL(DatasetGraph dataset, QueryEngineFactory factory)
           
GraphSPARQL(DatasetGraph dataset, String uri)
           
GraphSPARQL(com.hp.hpl.jena.graph.Graph graph)
           
GraphSPARQL(com.hp.hpl.jena.graph.Graph graph, QueryEngineFactory factory)
           
 
Method Summary
 com.hp.hpl.jena.graph.Capabilities getCapabilities()
           
 DatasetGraph getDataset()
           
 
Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase
add, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getBulkUpdateHandler, getEventManager, getPrefixMapping, getReifier, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, performAdd, performDelete, queryHandler, size, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.graph.Graph
close, contains, contains, delete, dependsOn, find, find, getBulkUpdateHandler, getEventManager, getPrefixMapping, getReifier, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, queryHandler, size
 
Methods inherited from interface com.hp.hpl.jena.graph.GraphAdd
add
 

Constructor Detail

GraphSPARQL

public GraphSPARQL(DatasetGraph dataset,
                   QueryEngineFactory factory)

GraphSPARQL

public GraphSPARQL(DatasetGraph dataset,
                   String uri)

GraphSPARQL

public GraphSPARQL(DatasetGraph dsg,
                   com.hp.hpl.jena.graph.Node gn)

GraphSPARQL

public GraphSPARQL(com.hp.hpl.jena.graph.Graph graph)

GraphSPARQL

public GraphSPARQL(com.hp.hpl.jena.graph.Graph graph,
                   QueryEngineFactory factory)
Method Detail

getCapabilities

public com.hp.hpl.jena.graph.Capabilities getCapabilities()
Specified by:
getCapabilities in interface com.hp.hpl.jena.graph.Graph
Overrides:
getCapabilities in class com.hp.hpl.jena.graph.impl.GraphBase

getDataset

public DatasetGraph getDataset()


Licenced under the Apache License, Version 2.0