Class RdfDataPodHdtImpl
java.lang.Object
org.aksw.jena_sparql_api.conjure.datapod.impl.RdfDataPodHdtImpl
- All Implemented Interfaces:
AutoCloseable,DataPod,RdfDataPod,RdfDataPodHdt,HasRDFDataSource,RDFDataPod
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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 requestsprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionRdfDataPodHdtImpl(org.aksw.commons.util.ref.Ref<org.rdfhdt.hdt.hdt.HDT> hdtRef, boolean isHeaderPod) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.jena.rdfconnection.RDFConnectionDataPods 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 nullbooleanWhether the content of the data object can be modifiedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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> hdtRefReference 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:DataPodWhether the content of the data object can be modified -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
getConnection
public org.apache.jena.rdfconnection.RDFConnection getConnection()- Specified by:
getConnectionin interfaceRdfDataPod
-
headerPod
Description copied from interface:RdfDataPodHdtDataPods 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:
headerPodin interfaceRdfDataPodHdt- Returns:
-