|
||||||||||
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 Graph |
createDataBagGraph(ThresholdPolicy<Triple> thresholdPolicy)
A graph backed by a DistinctDataBag<Triple>. |
static Graph |
createDefaultGraph()
Create a graph - ARQ-wide default type |
static Graph |
createGraphMem()
Create a graph that is a Jena memory graph |
static Graph |
createJenaDefaultGraph()
Create a graph - always the Jena default graph type |
static Graph |
createPlainGraph()
Very simple graph that uses same-term for find() (small-scale use only) |
static Model |
makeDataBagModel(ThresholdPolicy<Triple> thresholdPolicy)
Create a model over a DataBag graph (will spill to disk when it get large) |
static Model |
makeDefaultModel()
Create a model over a default graph (ARQ-wide for degault graph type) |
static Model |
makeJenaDefaultModel()
Guaranteed call-through to Jena's ModelFactory operation |
static Model |
makePlainModel()
Create a model over a plain graph (small-scale use only) |
static 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 Graph createGraphMem()
createDefaultGraph()
public static Graph createDefaultGraph()
public static Graph createJenaDefaultGraph()
public static Graph createPlainGraph()
public static Graph sinkGraph()
public static Graph createDataBagGraph(ThresholdPolicy<Triple> thresholdPolicy)
public static Model makeJenaDefaultModel()
public static Model makeDefaultModel()
public static Model makePlainModel()
public static Model makeDataBagModel(ThresholdPolicy<Triple> thresholdPolicy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |