|
Node Director
|
This database driver implements a simple in-RAM database. More...
Public Member Functions | |
| Enumeration | search (String expr, Options searchopt) throws DirectorException |
| void | append (DBObject dbo) |
| void | truncate () |
| void | replace (DBObject dbo) |
| void | remove (DBObject dbo) |
| DBAccessor | get (DN dn) |
Public Member Functions inherited from sfi.director.repository.DBConnection | |
| void | setCredentials (Credentials cred) |
| void | setURL (String url) throws DirectorException |
| String | getURL () |
| void | setContext (RemoteJob context) |
| void | setOption (String option) |
| void | setOption (String option, String val) |
| void | setOption (Options opt) |
| void | setOption (SURL url) |
| String | getOption (String option) |
| void | setError (Exception e) |
| Exception | getError () |
| DN | completeDN (DN dn) |
| Enumeration | search (String expr) throws DirectorException |
| void | modify (DBObject dbo, Vector attrs) throws DirectorException |
| void | close () throws DirectorException |
Additional Inherited Members | |
Static Public Member Functions inherited from sfi.director.repository.DBConnection | |
| static Enumeration | unwrap (final Enumeration wrapped) |
| Given an Enumeration of DBAccessor objects as returned by the search() method, returns an Enumeration of DBObject objects. | |
| static String | escapeSearchval (String val) |
Static Public Attributes inherited from sfi.director.repository.DBConnection | |
| static final String | SEARCH_BASEDN = "BaseDN" |
| used in conjunction with the search() method to set the base DN of the subtree we are about to search (option) | |
| static final String | SEARCH_NOSUB = "Sub" |
| static final String | SEARCH_WITHSTRUCT = "WithStruct" |
| static final String | SEARCH_SORT = "Sort" |
| static final String | SEARCH_SCHEMA = "Schema" |
Protected Attributes inherited from sfi.director.repository.DBConnection | |
| String | url |
| RemoteJob | context |
| Options | options = new Options() |
| Exception | error = null |
This database driver implements a simple in-RAM database.
It founds on DBSet for storing database entries in memory and offers the minimal set of DB operations. Of course database contents is lost on JVM shutdown.
|
virtual |
*
| DirectorException |
| dbo |
Implements sfi.director.repository.DBConnection.
References sfi.director.repository.DBSet.add().
| DBAccessor sfi.director.repository.MemoryDB.get | ( | DN | dn | ) |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.DBSet.get(), and sfi.director.repository.MemoryDB.replace().
| void sfi.director.repository.MemoryDB.remove | ( | DBObject | dbo | ) |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.DBSet.remove().
| void sfi.director.repository.MemoryDB.replace | ( | DBObject | dbo | ) |
Reimplemented from sfi.director.repository.DBConnection.
References sfi.director.repository.DBSet.replace().
Referenced by sfi.director.repository.MemoryDB.get(), and sfi.director.repository.MemoryDB.search().
|
virtual |
*
| DirectorException |
| expr | |
| searchopt |
Implements sfi.director.repository.DBConnection.
References sfi.director.repository.DBSet.elements(), sfi.director.repository.MemoryDB.replace(), sfi.director.util.Options.setOption(), and sfi.director.repository.DBSet.transform().
|
virtual |
Implements sfi.director.repository.DBConnection.
1.8.1.2