public interface TripleStore
Modifier and Type | Method and Description |
---|---|
void |
add(Triple t)
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 |
contains(Triple t)
Answer true iff this triple store contains the (concrete) triple
t . |
void |
delete(Triple t)
Remove a triple from this triple store.
|
ExtendedIterator<Triple> |
find(Triple t)
Answer an ExtendedIterator returning all the triples from this store that
match the pattern
m = (S, P, O) . |
boolean |
isEmpty()
Answer true iff this triple store is empty.
|
ExtendedIterator<Node> |
listObjects()
Answer an setwise iterator over all the objects of triples in this store.
|
ExtendedIterator<Node> |
listPredicates()
Answer an iterator over all the predicates of triples in this store.
|
ExtendedIterator<Node> |
listSubjects()
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.
|
void close()
void add(Triple t)
void delete(Triple t)
int size()
boolean isEmpty()
boolean contains(Triple t)
t
.ExtendedIterator<Node> listSubjects()
ExtendedIterator<Node> listPredicates()
ExtendedIterator<Node> listObjects()
ExtendedIterator<Triple> find(Triple t)
m = (S, P, O)
.void clear()
Licenced under the Apache License, Version 2.0