public class SimpleStore extends java.util.HashSet<RdfTriple> implements TripleStore
| Constructor and Description |
|---|
SimpleStore()
Create an empty TripleStore
|
SimpleStore(java.util.Collection<RdfTriple> triples)
Create a TripleStore from the collection of RDF triples
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<RdfTriple> |
getTriples(RdfTriple query)
Get the triples from the triple store that match a particular query
|
void |
storeTriples(java.util.Set<RdfTriple> triples)
Store new RDF triples into the triple store
|
add, clear, clone, contains, isEmpty, iterator, remove, sizeaddAll, containsAll, retainAll, toArray, toArray, toStringpublic SimpleStore()
public SimpleStore(java.util.Collection<RdfTriple> triples)
triples - the set of RDF triplespublic java.util.Set<RdfTriple> getTriples(RdfTriple query)
getTriples in interface TripleStorequery - RdfTriple specifying the querypublic void storeTriples(java.util.Set<RdfTriple> triples)
storeTriples in interface TripleStoretriples - RDF triples to store