|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TriplestoreSession
A read/write session to an RDF database. If a session doesn't support writes, the add and delete methods will throw UnsupportedOperationException (an unchecked exception).
| Method Summary | |
|---|---|
void |
add(java.util.Set triples)
Add the given triples to the store. |
void |
close()
Close the session, releasing any resources. |
void |
delete(java.util.Set triples)
Delete the given triples from the store. |
TripleIterator |
findTriples(java.lang.String lang,
java.lang.String queryText)
|
TripleIterator |
findTriples(org.jrdf.graph.SubjectNode subject,
org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
|
java.lang.String[] |
listTripleLanguages()
|
java.lang.String[] |
listTupleLanguages()
|
TupleIterator |
query(java.lang.String queryText,
java.lang.String language)
Perform a tuple query against the store. |
| Method Detail |
|---|
void add(java.util.Set triples)
throws java.lang.UnsupportedOperationException,
TrippiException
triples - a Set of Triple objects.
java.lang.UnsupportedOperationException - if modifications are not supported.
TrippiException - if adding to the store otherwise failed.
void delete(java.util.Set triples)
throws java.lang.UnsupportedOperationException,
TrippiException
triples - a Set of Triple objects.
java.lang.UnsupportedOperationException - if modifications are not supported.
TrippiException - if deleting from the store failed.
TupleIterator query(java.lang.String queryText,
java.lang.String language)
throws TrippiException
queryText - the text of the querylanguage - the query language
TrippiException
TripleIterator findTriples(java.lang.String lang,
java.lang.String queryText)
throws TrippiException
TrippiException
TripleIterator findTriples(org.jrdf.graph.SubjectNode subject,
org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
throws TrippiException
TrippiExceptionjava.lang.String[] listTupleLanguages()
java.lang.String[] listTripleLanguages()
void close()
throws TrippiException
TrippiException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||