Package org.aksw.jenax.arq.dataset.api
Interface DatasetOneNg
- All Superinterfaces:
org.apache.jena.query.Dataset,org.apache.jena.sparql.core.Transactional
- All Known Implementing Classes:
DatasetOneNgImpl
public interface DatasetOneNg
extends org.apache.jena.query.Dataset
Evolving.
Interface for dataset implementations that only allow for a single named graph.
Typical use is for event streams where each event is encoded as a named graph.
Whether a default graph may exist instead of or in addition to a named graph
is (currently) unspecified. It is recommended to only use this class for
named graphs.
- Author:
- raven
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
org.apache.jena.sparql.core.Transactional.Promote -
Method Summary
Modifier and TypeMethodDescriptiondefault org.apache.jena.rdf.model.ModelgetModel()default org.apache.jena.rdf.model.ResourceReturn a resource in this dataset's only graph which also has the same name as the graphMethods inherited from interface org.apache.jena.query.Dataset
abort, addNamedModel, addNamedModel, asDatasetGraph, begin, close, commit, containsNamedModel, containsNamedModel, end, getContext, getDefaultModel, getLock, getNamedModel, getNamedModel, getPrefixMapping, getUnionModel, isEmpty, isInTransaction, listModelNames, listNames, removeNamedModel, removeNamedModel, replaceNamedModel, replaceNamedModel, setDefaultModel, supportsTransactionAbort, supportsTransactionsMethods inherited from interface org.apache.jena.sparql.core.Transactional
begin, begin, calc, calculate, calculateRead, calculateWrite, exec, execute, executeRead, executeWrite, promote, promote, transactionMode, transactionType
-
Method Details
-
getGraphName
String getGraphName() -
getModel
default org.apache.jena.rdf.model.Model getModel() -
getSelfResource
default org.apache.jena.rdf.model.Resource getSelfResource()Return a resource in this dataset's only graph which also has the same name as the graph
-