Interface DatasetAccessor

  • All Known Implementing Classes:
    DatasetAdapter

    @Deprecated
    public interface DatasetAccessor
    Deprecated.
    Use RDFConnection.
    Accessor to a dataset as a collection of models, providing whole model operations. Models can be added, removed and replaced. This interface provides a uniform interface to local and remote datasets and is based on SPARQL 1.1 Graph Store HTTP Protocol. The factory methods in DatasetAccessorFactory provides creators for DatasetAccessors to local and remote (over HTTP) data.
    See Also:
    DatasetAccessorFactory
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void add​(java.lang.String graphUri, Model data)
      Deprecated.
      Add statements to a named model of a Dataset
      void add​(Model data)
      Deprecated.
      Add statements to the default model of a Dataset
      boolean containsModel​(java.lang.String graphURI)
      Deprecated.
      Does the Dataset contain a named graph?
      void deleteDefault()
      Deprecated.
      Delete (which means clear) the default model of a Dataset
      void deleteModel​(java.lang.String graphUri)
      Deprecated.
      Delete a named model of a Dataset
      Model getModel()
      Deprecated.
      Get the default model of a Dataset
      Model getModel​(java.lang.String graphUri)
      Deprecated.
      Get a named model of a Dataset
      void putModel​(java.lang.String graphUri, Model data)
      Deprecated.
      Put (create/replace) a named model of a Dataset
      void putModel​(Model data)
      Deprecated.
      Put (replace) the default model of a Dataset
    • Method Detail

      • getModel

        Model getModel()
        Deprecated.
        Get the default model of a Dataset
      • getModel

        Model getModel​(java.lang.String graphUri)
        Deprecated.
        Get a named model of a Dataset
      • containsModel

        boolean containsModel​(java.lang.String graphURI)
        Deprecated.
        Does the Dataset contain a named graph?
      • putModel

        void putModel​(Model data)
        Deprecated.
        Put (replace) the default model of a Dataset
      • putModel

        void putModel​(java.lang.String graphUri,
                      Model data)
        Deprecated.
        Put (create/replace) a named model of a Dataset
      • deleteDefault

        void deleteDefault()
        Deprecated.
        Delete (which means clear) the default model of a Dataset
      • deleteModel

        void deleteModel​(java.lang.String graphUri)
        Deprecated.
        Delete a named model of a Dataset
      • add

        void add​(Model data)
        Deprecated.
        Add statements to the default model of a Dataset
      • add

        void add​(java.lang.String graphUri,
                 Model data)
        Deprecated.
        Add statements to a named model of a Dataset