Class RDFLinkSourceAdapter

java.lang.Object
org.aksw.jenax.dataaccess.sparql.linksource.RDFLinkSourceAdapter
All Implemented Interfaces:
RDFLinkSource

public class RDFLinkSourceAdapter extends Object implements RDFLinkSource
All implemented methods are based on RDFDataSource.getConnection().
  • Field Details

  • Constructor Details

    • RDFLinkSourceAdapter

      public RDFLinkSourceAdapter(RDFDataSource delegate)
  • Method Details

    • getDatasetGraph

      public org.apache.jena.sparql.core.DatasetGraph getDatasetGraph()
      Description copied from interface: RDFLinkSource
      A link source may optionally associated with a dataset graph.
      Specified by:
      getDatasetGraph in interface RDFLinkSource
    • asDataSource

      public RDFDataSource asDataSource()
      Description copied from interface: RDFLinkSource
      This method is the default 'upcast' to RDFDataSource.
      Specified by:
      asDataSource in interface RDFLinkSource
    • newLinkBuilder

      public RDFLinkBuilder<?> newLinkBuilder()
      Specified by:
      newLinkBuilder in interface RDFLinkSource
    • newLink

      public org.apache.jena.rdflink.RDFLink newLink()
      Specified by:
      newLink in interface RDFLinkSource
    • newQuery

      public org.apache.jena.sparql.exec.QueryExecBuilder newQuery()
      Description copied from interface: RDFLinkSource
      Builder that executes a query statement on its own link. Implementations must only acquire a link when the actual execution is requested. The builder itself must not acquire any resources that need to be freed.
      Specified by:
      newQuery in interface RDFLinkSource
    • newUpdate

      public org.apache.jena.sparql.exec.UpdateExecBuilder newUpdate()
      Description copied from interface: RDFLinkSource
      Builder that executes an update statement on its own link. Implementations must only acquire a link when the actual execution is requested. The builder itself must not acquire any resources that need to be freed.
      Specified by:
      newUpdate in interface RDFLinkSource
    • adapt

      public static RDFLinkSource adapt(RDFDataSource dataSource)
    • toString

      public String toString()
      Overrides:
      toString in class Object