public class GraphFactory extends Object
Constructor and Description |
---|
GraphFactory() |
Modifier and Type | Method and Description |
---|---|
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() |
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)
Licenced under the Apache License, Version 2.0