|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.newmedialab.ldpath.backend.sesame.AbstractSesameBackend
at.newmedialab.ldpath.backend.sesame.SesameRepositoryBackend
at.newmedialab.ldpath.backend.linkeddata.AbstractLDBackend
public abstract class AbstractLDBackend
Abstract superclass for Linked Data backends. Implements functionality common to all implementations.
Author: Sebastian Schaffert
| Constructor Summary | |
|---|---|
protected |
AbstractLDBackend()
Initialise a new sesame backend. |
| Method Summary | |
|---|---|
org.openrdf.repository.Repository |
getTripleRepository()
Return the sesame repository used for storing the triples that are retrieved from the Linked Data Cloud. |
Collection<Endpoint> |
listEndpoints()
List all endpoints currently registered with the Linked Data cache provider. |
Collection<org.openrdf.model.Value> |
listObjects(org.openrdf.model.Value subject,
org.openrdf.model.Value property)
List the objects of triples in the triple store underlying this backend that have the subject and property given as argument. |
Collection<org.openrdf.model.Value> |
listSubjects(org.openrdf.model.Value property,
org.openrdf.model.Value object)
List the subjects of triples in the triple store underlying this backend that have the object and property given as argument. |
void |
registerEndpoint(Endpoint endpoint)
Register a new Linked Data endpoint with this cache provider. |
void |
unregisterEndpoint(Endpoint endpoint)
Unregister the Linked Data endpoint given as argument. |
| Methods inherited from class at.newmedialab.ldpath.backend.sesame.SesameRepositoryBackend |
|---|
createLiteral, createLiteral, createURI, getRepository, setRepository |
| Methods inherited from class at.newmedialab.ldpath.backend.sesame.AbstractSesameBackend |
|---|
booleanValue, createLiteralInternal, createLiteralInternal, createURIInternal, dateTimeValue, dateValue, debugType, decimalValue, doubleValue, floatValue, getLiteralLanguage, getLiteralType, getThreadPool, integerValue, intValue, isBlank, isLiteral, isURI, listObjectsInternal, listSubjectsInternal, longValue, stringValue, supportsThreading, timeValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface at.newmedialab.ldclient.api.LDCacheProvider |
|---|
getMetadataRepository |
| Constructor Detail |
|---|
protected AbstractLDBackend()
| Method Detail |
|---|
public org.openrdf.repository.Repository getTripleRepository()
getTripleRepository in interface LDCacheProvider
public Collection<org.openrdf.model.Value> listObjects(org.openrdf.model.Value subject,
org.openrdf.model.Value property)
listObjects in interface at.newmedialab.ldpath.api.backend.RDFBackend<org.openrdf.model.Value>listObjects in class SesameRepositoryBackendsubject - the subject of the triples to look forproperty - the property of the triples to look for
public Collection<org.openrdf.model.Value> listSubjects(org.openrdf.model.Value property,
org.openrdf.model.Value object)
listSubjects in interface at.newmedialab.ldpath.api.backend.RDFBackend<org.openrdf.model.Value>listSubjects in class SesameRepositoryBackendobject - the object of the triples to look forproperty - the property of the triples to look for
UnsupportedOperationException - in case reverse selection is not supported (e.g. when querying Linked Data)public void registerEndpoint(Endpoint endpoint)
registerEndpoint in interface LDCacheProviderendpoint - public Collection<Endpoint> listEndpoints()
listEndpoints in interface LDCacheProviderpublic void unregisterEndpoint(Endpoint endpoint)
unregisterEndpoint in interface LDCacheProviderendpoint - the endpoint to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||