Class RdfDataPodHdtImpl

java.lang.Object
org.aksw.jena_sparql_api.conjure.datapod.impl.RdfDataPodHdtImpl
All Implemented Interfaces:
AutoCloseable, DataPod, RdfDataPod, RdfDataPodHdt, HasRDFDataSource, RDFDataPod

public class RdfDataPodHdtImpl extends Object implements RdfDataPodHdt
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.aksw.commons.util.ref.Ref<org.rdfhdt.hdt.hdt.HDT>
    Reference to HDT resources TODO Put the HDT *and* the HDTGraph into a common object, so that if the HDTGraph only needs to be initialized once for any number of requests
    protected boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RdfDataPodHdtImpl(org.aksw.commons.util.ref.Ref<org.rdfhdt.hdt.hdt.HDT> hdtRef, boolean isHeaderPod)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.apache.jena.rdfconnection.RDFConnection
     
    DataPods backed HDT-like formats can allow access to the header pod TODO What is the header pod of a header? Either an empty model or null
    boolean
    Whether the content of the data object can be modified

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.aksw.jena_sparql_api.conjure.datapod.api.RdfDataPod

    getDataset, getDataSource, getModel
  • Field Details

    • hdtRef

      protected org.aksw.commons.util.ref.Ref<org.rdfhdt.hdt.hdt.HDT> hdtRef
      Reference to HDT resources TODO Put the HDT *and* the HDTGraph into a common object, so that if the HDTGraph only needs to be initialized once for any number of requests
    • isHeaderPod

      protected boolean isHeaderPod
  • Constructor Details

    • RdfDataPodHdtImpl

      public RdfDataPodHdtImpl(org.aksw.commons.util.ref.Ref<org.rdfhdt.hdt.hdt.HDT> hdtRef, boolean isHeaderPod)
  • Method Details

    • isMutable

      public boolean isMutable()
      Description copied from interface: DataPod
      Whether the content of the data object can be modified
      Specified by:
      isMutable in interface DataPod
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception
    • getConnection

      public org.apache.jena.rdfconnection.RDFConnection getConnection()
      Specified by:
      getConnection in interface RdfDataPod
    • headerPod

      public RdfDataPod headerPod()
      Description copied from interface: RdfDataPodHdt
      DataPods backed HDT-like formats can allow access to the header pod TODO What is the header pod of a header? Either an empty model or null
      Specified by:
      headerPod in interface RdfDataPodHdt
      Returns: