public class BigdataGraphFactory extends Object
Constructor and Description |
---|
BigdataGraphFactory() |
Modifier and Type | Method and Description |
---|---|
static BigdataGraph |
connect(String sparqlEndpointURL)
Connect to a remote bigdata instance.
|
static BigdataGraph |
connect(String host,
int port)
Deprecated.
As of version 1.5.2, you should use one of the connect methods with a sparqlEndpointURL.
See http://wiki.blazegraph.com/wiki/index.php/NanoSparqlServer#Active_URLs
|
static BigdataGraph |
create()
Create a new local in-memory bigdata instance.
|
static BigdataGraph |
create(BlueprintsValueFactory vf)
Create a new local in-memory bigdata instance with the supplied value
factory.
|
static BigdataGraph |
create(BlueprintsValueFactory vf,
Properties props)
Create a new local in-memory bigdata instance with the supplied value
factory.
|
static BigdataGraph |
create(String file)
Create a persistent local bigdata instance.
|
static BigdataGraph |
open(String file,
boolean create)
Open an existing persistent local bigdata instance.
|
public static BigdataGraph connect(String host, int port)
BigdataStatics.getContextPath()
.public static BigdataGraph connect(String sparqlEndpointURL)
sparqlEndpointURL
- The URL of the SPARQL end point. This will be used to read and
write on the graph using the blueprints API.public static BigdataGraph open(String file, boolean create) throws Exception
Exception
public static BigdataGraph create(String file) throws Exception
Exception
public static BigdataGraph create() throws Exception
Exception
public static BigdataGraph create(BlueprintsValueFactory vf) throws Exception
Exception
public static BigdataGraph create(BlueprintsValueFactory vf, Properties props) throws Exception
Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.