Interface RDFDataSourceWrapper<T extends RDFDataSource>

All Superinterfaces:
RDFDataSource
All Known Implementing Classes:
DecoratedRDFDataSource, RdfDataSourceWithBnodeRewrite, RdfDataSourceWithLocalCache, RdfDataSourceWithLocalCacheRework, RdfDataSourceWithLocalLateral, RdfDataSourceWithSimpleCache, RDFDataSourceWrapperBase, RdfDataSourceWrapperWithRewrite

public interface RDFDataSourceWrapper<T extends RDFDataSource> extends RDFDataSource
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 Details

    • getDelegate

      T getDelegate()
    • getConnection

      default org.apache.jena.rdfconnection.RDFConnection getConnection()
      By default, use the delegate's connection.
      Specified by:
      getConnection in interface RDFDataSource