#include <Pool.h>
Inheritance diagram for Pool::
You can add them (it's a TripleSink), remove them, and see what's inside (it's a TripleSource). You can also replace the Symbols used to identify particular objects. You can search a Pool with a Pattern (and sometimes use a Pool as a Pattern).
Like a database table, a Pool is a general way to store information with arbitrary structure. Some implementations of this abstract interface can be combined with each other to provide a wide variety of features.
Pools may be tempory (in-memory), long-lived, or even archival; they may dynamic or static; they may be private to this process or shared across a network.
Definition at line 31 of file Pool.h.
|
Instantiate a local pool object for interaction with the pool identified by the given address. A suitable class is used, with a language and protocol selected according to various configuration logic, which should rarely need to be modified. In general, addresses are interpreted as URIs relative to a file: URL for the current working directory, so unless the address contains a colon, it behaves very much like a file name. |
|
Replace any occurances of 'old' with 'replacement'. Caller should treat 'old' as if it had been released.
Reimplemented in NTriplesFilePool, InMemoryPool, and XSBPool. |
|
Remove the given triple, if it happens to be present. No operation otherwise. Reimplemented in InMemoryPool, and XSBPool. |