Interface TripleStore

    • Method Detail

      • close

        void close()
        Destroy this triple store - discard the indexes.
      • add

        void add​(Triple t)
        Add a triple to this triple store.
      • delete

        void delete​(Triple t)
        Remove a triple from this triple store.
      • size

        int size()
        Answer the size (number of triples) of this triple store.
      • isEmpty

        boolean isEmpty()
        Answer true iff this triple store is empty.
      • contains

        boolean contains​(Triple t)
        Answer true iff this triple store contains the (concrete) triple t.
      • listSubjects

        ExtendedIterator<Node> listSubjects()
        Answer an setwise iterator over all the subjects of triples in this store.
      • listPredicates

        ExtendedIterator<Node> listPredicates()
        Answer an iterator over all the predicates of triples in this store.
      • listObjects

        ExtendedIterator<Node> listObjects()
        Answer an setwise iterator over all the objects of triples in this store.
      • find

        ExtendedIterator<Triple> find​(Triple t)
        Answer an ExtendedIterator returning all the triples from this store that match the pattern m = (S, P, O).
      • clear

        void clear()
        Clear this store, ie remove all triples from it.