Class DatasetAdapter

  • All Implemented Interfaces:
    DatasetAccessor

    @Deprecated
    public class DatasetAdapter
    extends java.lang.Object
    implements DatasetAccessor
    Deprecated.
    Use RDFConnectionFactory.
    Adapter between Dataset/Model level and DatasetGraph/Graph level.
    • Method Summary

      All Methods Instance Methods Concrete 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getModel

        public Model getModel​(java.lang.String graphUri)
        Deprecated.
        Get a named model of a Dataset
        Specified by:
        getModel in interface DatasetAccessor
      • containsModel

        public boolean containsModel​(java.lang.String graphUri)
        Deprecated.
        Description copied from interface: DatasetAccessor
        Does the Dataset contain a named graph?
        Specified by:
        containsModel in interface DatasetAccessor
      • putModel

        public void putModel​(Model data)
        Deprecated.
        Put (replace) the default model of a Dataset
        Specified by:
        putModel in interface DatasetAccessor
      • putModel

        public void putModel​(java.lang.String graphUri,
                             Model data)
        Deprecated.
        Put (create/replace) a named model of a Dataset
        Specified by:
        putModel in interface DatasetAccessor
      • deleteDefault

        public void deleteDefault()
        Deprecated.
        Delete (which means clear) the default model of a Dataset
        Specified by:
        deleteDefault in interface DatasetAccessor
      • deleteModel

        public void deleteModel​(java.lang.String graphUri)
        Deprecated.
        Delete a named model of a Dataset
        Specified by:
        deleteModel in interface DatasetAccessor
      • add

        public void add​(Model data)
        Deprecated.
        Add statements to the default model of a Dataset
        Specified by:
        add in interface DatasetAccessor
      • add

        public void add​(java.lang.String graphUri,
                        Model data)
        Deprecated.
        Add statements to a named model of a Dataset
        Specified by:
        add in interface DatasetAccessor