Package org.eclipse.lyo.store
Class StoreFactory
java.lang.Object
org.eclipse.lyo.store.StoreFactory
Provides factory methods to instantiate concrete implementations of
Store
that keep the
triplestore information in various ways (RAM, disk, over the network).- Since:
- 0.16.0
- Version:
- $version-stub$
- Author:
- Andrew Berezovskyi (andriib@kth.se)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StoreFactory
public StoreFactory()
-
-
Method Details
-
sparql
Initialise a SPARQL-compatible Store implementation that does not require authentication.- Parameters:
queryUrl
- SPARQL Query endpoint URIupdateUrl
- SPARQL Update endpoint URI- Returns:
- Store implementation that communicates with the triplestore via SPARQL.
-
sparqlInMem
-
sparql
Initialise a SPARQL-compatible Store implementation with authentication via username and password combinations. Authentication works with the basic and digest HTTP authentication schemes.- Parameters:
queryUrl
- SPARQL Query endpoint URIupdateUrl
- SPARQL Update endpoint URIusername
- Usernamepassword
- Password- Returns:
- Store implementation that communicates with the triplestore via SPARQL.
-