Interface RdfDataPod
- All Superinterfaces:
AutoCloseable,DataPod,org.aksw.jenax.dataaccess.sparql.datasource.HasRDFDataSource,org.aksw.jenax.dataaccess.sparql.pod.RDFDataPod
- All Known Subinterfaces:
RdfDataPodHdt
- All Known Implementing Classes:
RdfDataPodBase,RdfDataPodHdtImpl
TODO Remove RdfDataPod (camed case Rdf) and replace with RDFDataPod.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.rdfconnection.RDFConnectiondefault org.apache.jena.query.Datasetdefault org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSourcedefault org.apache.jena.rdf.model.ModelgetModel()Obtain aModelfor the data backing this pod.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getConnection
org.apache.jena.rdfconnection.RDFConnection getConnection() -
getDataSource
default org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSource getDataSource()- Specified by:
getDataSourcein interfaceorg.aksw.jenax.dataaccess.sparql.datasource.HasRDFDataSource
-
getModel
default org.apache.jena.rdf.model.Model getModel()Obtain aModelfor the data backing this pod. By default, CONSTRUCT WHERE { ?s ?p ?o } is executed on this data pod's connection. However, DataPods backed by a Model may directly expose the underlying Model, which allows for fast model access.- Returns:
-
getDataset
default org.apache.jena.query.Dataset getDataset()
-