com.hp.hpl.jena.update
Class GraphStoreFactory

java.lang.Object
  extended by com.hp.hpl.jena.update.GraphStoreFactory

public class GraphStoreFactory
extends Object

Operations to create a GraphStore


Constructor Summary
GraphStoreFactory()
           
 
Method Summary
static GraphStore create()
          Create an empty GraphStore with an empty default graph (in-memory)
static GraphStore create(Dataset dataset)
          Create a GraphStore from a dataset so that updates apply to the graphs in the dataset.
static GraphStore create(DatasetGraph datasetGraph)
          Create a GraphStore from a dataset (graph-level) so that updates apply to the graphs in the dataset.
static GraphStore create(com.hp.hpl.jena.graph.Graph graph)
          Create a GraphStore from a Graph
static GraphStore create(com.hp.hpl.jena.rdf.model.Model model)
          Create a GraphStore from a Model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphStoreFactory

public GraphStoreFactory()
Method Detail

create

public static GraphStore create()
Create an empty GraphStore with an empty default graph (in-memory)


create

public static GraphStore create(com.hp.hpl.jena.rdf.model.Model model)
Create a GraphStore from a Model

Parameters:
model -
Returns:
GraphStore

create

public static GraphStore create(com.hp.hpl.jena.graph.Graph graph)
Create a GraphStore from a Graph

Parameters:
graph -
Returns:
GraphStore

create

public static GraphStore create(Dataset dataset)
Create a GraphStore from a dataset so that updates apply to the graphs in the dataset. Throws UpdateException (an ARQException) if the GraphStore can not be created. This is not the way to get a GraphStore for SDB or TDB - an SDB Store object is a GraphStore no conversion necessary.

Parameters:
dataset -
Throws:
UpdateException

create

public static GraphStore create(DatasetGraph datasetGraph)
Create a GraphStore from a dataset (graph-level) so that updates apply to the graphs in the dataset.

Parameters:
datasetGraph -
Throws:
UpdateException


Licenced under the Apache License, Version 2.0