public class DatasetGraphFactory extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DatasetGraphFactory.GraphMaker
Interface for makign graphs when a dataset needs to add a new graph.
|
Modifier and Type | Field and Description |
---|---|
static DatasetGraphFactory.GraphMaker |
graphMakerNull
A graph maker that doesn't make graphs
|
Constructor and Description |
---|
DatasetGraphFactory() |
Modifier and Type | Method and Description |
---|---|
static DatasetGraph |
create(DatasetGraph dsg)
Create a DatasetGraph based on an existing one;
this is a structure copy of the dataset struture
but graphs are shared
|
static DatasetGraph |
create(Graph graph)
Create a DatasetGraph starting with a single graph.
|
static DatasetGraph |
createMem()
Create a DatasetGraph which has all graphs in memory.
|
static DatasetGraph |
createMemFixed() |
static DatasetGraph |
createOneGraph(Graph graph)
Create a DatasetGraph which only ever has a single default graph.
|
public static DatasetGraphFactory.GraphMaker graphMakerNull
public static DatasetGraph create(DatasetGraph dsg)
public static DatasetGraph create(Graph graph)
public static DatasetGraph createOneGraph(Graph graph)
public static DatasetGraph createMem()
public static DatasetGraph createMemFixed()
Licenced under the Apache License, Version 2.0