- All Known Implementing Classes:
GraphTripleStore
,GraphTripleStoreBase
,GraphTripleStoreMem
public interface TripleStore
TripleStore - interface for bulk storage of triples used in composed graphs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a triple to this triple store.void
clear()
Clear this store, ie remove all triples from it.void
close()
Destroy this triple store - discard the indexes.boolean
Answer true iff this triple store contains the (concrete) triplet
.void
Remove a triple from this triple store.Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
.boolean
isEmpty()
Answer true iff this triple store is empty.Answer an setwise iterator over all the objects of triples in this store.Answer an iterator over all the predicates of triples in this store.Answer an setwise iterator over all the subjects of triples in this store.int
size()
Answer the size (number of triples) of this triple store.
-
Method Details
-
close
void close()Destroy this triple store - discard the indexes. -
add
Add a triple to this triple store. -
delete
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
Answer true iff this triple store contains the (concrete) triplet
. -
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
Answer an ExtendedIterator returning all the triples from this store that match the patternm = (S, P, O)
. -
clear
void clear()Clear this store, ie remove all triples from it.
-