public class RDFConnectionFactory extends Object
| Constructor and Description |
|---|
RDFConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static RDFConnection |
connect(Dataset dataset)
Connect to a local (same JVM) dataset.
|
static RDFConnection |
connect(Dataset dataset,
Isolation isolation)
Connect to a local (same JVM) dataset.
|
static RDFConnection |
connect(String destination)
Create a connection to a remote location by URL.
|
static RDFConnection |
connect(String queryServiceEndpoint,
String updateServiceEndpoint,
String graphStoreProtocolEndpoint)
Create a connection specifying the URLs of the service.
|
static RDFConnection |
connect(String datasetURL,
String queryServiceEndpoint,
String updateServiceEndpoint,
String graphStoreProtocolEndpoint)
Create a connection to a remote location by URL.
|
static RDFConnectionFuseki |
connectFuseki(String destination)
Create a connection to a remote Fuseki server by URL.
|
static RDFConnectionFuseki |
connectFuseki(String datasetURL,
String queryServiceEndpoint,
String updateServiceEndpoint,
String graphStoreProtocolEndpoint)
Create a connection to a remote Fuseki server by URL.
|
static RDFConnection |
connectPW(String URL,
String user,
String password)
Make a remote RDFConnection to the URL, with user and password for the client access using basic auth.
|
public static RDFConnection connect(String destination)
connect(String, String, String, String)destination - connect(String, String, String, String)public static RDFConnection connect(String queryServiceEndpoint, String updateServiceEndpoint, String graphStoreProtocolEndpoint)
queryServiceEndpoint - updateServiceEndpoint - graphStoreProtocolEndpoint - public static RDFConnection connect(String datasetURL, String queryServiceEndpoint, String updateServiceEndpoint, String graphStoreProtocolEndpoint)
datasetURL.datasetURL - queryServiceEndpoint - updateServiceEndpoint - graphStoreProtocolEndpoint - public static RDFConnection connectPW(String URL, String user, String password)
URL - user - password - public static RDFConnection connect(Dataset dataset)
NONE.
See connect(Dataset, Isolation) to select an isolation mode.dataset - RDFConnectionLocalpublic static RDFConnection connect(Dataset dataset, Isolation isolation)
Multiple levels of Isolation are provided, The default COPY level makes a local
RDFConnection behave like a remote conenction.
See the documentation for more details.
COPY – Models and Datasets are copied.
This is most like a remote connection.
READONLY – Read-only wrappers are added but changes to
the underlying model or dataset will be seen.
NONE (default) – Changes to the returned Models or Datasets act on the original object.
dataset - isolation - public static RDFConnectionFuseki connectFuseki(String destination)
A RDFConnectionFuseki is an RDFConnection that:
connectFuseki(String, String, String, String).destination - public static RDFConnectionFuseki connectFuseki(String datasetURL, String queryServiceEndpoint, String updateServiceEndpoint, String graphStoreProtocolEndpoint)
datasetURL.datasetURL - queryServiceEndpoint - updateServiceEndpoint - graphStoreProtocolEndpoint - Licenced under the Apache License, Version 2.0