|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NotifyingSail
An interface for an RDF Storage And Inference Layer. RDF Sails can store RDF statements and evaluate queries over them. Statements can be stored in named contexts or in the null context. Contexts can be used to group sets of statements that logically belong together, for example because they come from the same source. Both URIs and bnodes can be used as context identifiers.
| Method Summary | |
|---|---|
void |
addSailChangedListener(SailChangedListener listener)
Adds the specified SailChangedListener to receive events when the data in this Sail object changes. |
NotifyingSailConnection |
getConnection()
Opens a connection on the Sail which can be used to query and update data. |
void |
removeSailChangedListener(SailChangedListener listener)
Removes the specified SailChangedListener so that it no longer receives events from this Sail object. |
| Methods inherited from interface org.openrdf.sail.Sail |
|---|
getDataDir, getValueFactory, initialize, isWritable, setDataDir, shutDown |
| Method Detail |
|---|
NotifyingSailConnection getConnection()
throws SailException
getConnection in interface SailSailException - If no transaction could be started, for example because the Sail
is not writable.void addSailChangedListener(SailChangedListener listener)
void removeSailChangedListener(SailChangedListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||