Interface RDFDataSourceWrapper<T extends RDFDataSource>
- All Superinterfaces:
RDFDataSource
- All Known Implementing Classes:
DecoratedRDFDataSource,RdfDataSourceWithBnodeRewrite,RdfDataSourceWithLocalCache,RdfDataSourceWithLocalCacheRework,RdfDataSourceWithLocalLateral,RdfDataSourceWithSimpleCache,RDFDataSourceWrapperBase,RdfDataSourceWrapperWithRewrite
A wrapper for another data source.
Use of this wrapper should be avoided in favor of
RDFLinkSourceWrapper.
This wrapper exists in order to cope with custom implementations
that were inadequately written against RDFDataSource
instead of RDFLinkSource.
To consistently change the behavior of all methods, such as
RDFDataSource.newQuery() and RDFDataSource.newUpdate()
only the getConnection() method needs to be overridden.
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.apache.jena.rdfconnection.RDFConnectionBy default, use the delegate's connection.Methods inherited from interface org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSource
asLinkSource, asQef, getDataset, newQuery, newUpdate, query, query, update, update, update
-
Method Details
-
getDelegate
T getDelegate() -
getConnection
default org.apache.jena.rdfconnection.RDFConnection getConnection()By default, use the delegate's connection.- Specified by:
getConnectionin interfaceRDFDataSource
-