|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.sparql.graph.GraphFactory
public class GraphFactory
Ways to make graphs and models
Constructor Summary | |
---|---|
GraphFactory()
|
Method Summary | |
---|---|
static com.hp.hpl.jena.graph.Graph |
createDataBagGraph(ThresholdPolicy<com.hp.hpl.jena.graph.Triple> thresholdPolicy)
A graph backed by a DistinctDataBag<Triple>. |
static com.hp.hpl.jena.graph.Graph |
createDefaultGraph()
Create a graph - ARQ-wide default type |
static com.hp.hpl.jena.graph.Graph |
createGraphMem()
Create a graph that is a Jena memory graph |
static com.hp.hpl.jena.graph.Graph |
createJenaDefaultGraph()
Create a graph - always the Jena default graph type |
static com.hp.hpl.jena.graph.Graph |
createPlainGraph()
Very simple graph that uses same-term for find() (small-scale use only) |
static com.hp.hpl.jena.rdf.model.Model |
makeDataBagModel(ThresholdPolicy<com.hp.hpl.jena.graph.Triple> thresholdPolicy)
Create a model over a DataBag graph (will spill to disk when it get large) |
static com.hp.hpl.jena.rdf.model.Model |
makeDefaultModel()
Create a model over a default graph (ARQ-wide for degault graph type) |
static com.hp.hpl.jena.rdf.model.Model |
makeJenaDefaultModel()
Guaranteed call-through to Jena's ModelFactory operation |
static com.hp.hpl.jena.rdf.model.Model |
makePlainModel()
Create a model over a plain graph (small-scale use only) |
static com.hp.hpl.jena.graph.Graph |
sinkGraph()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphFactory()
Method Detail |
---|
public static com.hp.hpl.jena.graph.Graph createGraphMem()
createDefaultGraph()
public static com.hp.hpl.jena.graph.Graph createDefaultGraph()
public static com.hp.hpl.jena.graph.Graph createJenaDefaultGraph()
public static com.hp.hpl.jena.graph.Graph createPlainGraph()
public static com.hp.hpl.jena.graph.Graph sinkGraph()
public static com.hp.hpl.jena.graph.Graph createDataBagGraph(ThresholdPolicy<com.hp.hpl.jena.graph.Triple> thresholdPolicy)
public static com.hp.hpl.jena.rdf.model.Model makeJenaDefaultModel()
public static com.hp.hpl.jena.rdf.model.Model makeDefaultModel()
public static com.hp.hpl.jena.rdf.model.Model makePlainModel()
public static com.hp.hpl.jena.rdf.model.Model makeDataBagModel(ThresholdPolicy<com.hp.hpl.jena.graph.Triple> thresholdPolicy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |