Constructor and Description |
---|
StoreFactory() |
Modifier and Type | Method and Description |
---|---|
static Store |
inMemory()
Deprecated.
|
static Store |
onDisk(Path path)
Deprecated.
|
static Store |
sparql(String queryUrl,
String updateUrl)
Initialise a SPARQL-compatible Store implementation that does not require authentication.
|
static Store |
sparql(String queryUrl,
String updateUrl,
String username,
String password)
Initialise a SPARQL-compatible Store implementation with authentication via username and
password
combinations.
|
@Deprecated public static Store inMemory()
Supports all SPARQL queries and TDB transactions.
@Deprecated public static Store onDisk(Path path) throws IllegalArgumentException
Tries to open a triplestore under a given path and then initialise one if it doesn't exist. Will create the necessary directories.
path
- Filesystem path where the Jena TDB files can be stored.IllegalArgumentException
- If the TDB cannot be initialised in a given directory.public static Store sparql(String queryUrl, String updateUrl)
queryUrl
- SPARQL Query endpoint URIupdateUrl
- SPARQL Update endpoint URIpublic static Store sparql(String queryUrl, String updateUrl, String username, String password)
queryUrl
- SPARQL Query endpoint URIupdateUrl
- SPARQL Update endpoint URIusername
- Usernamepassword
- PasswordCopyright © 2020. All rights reserved.