4Suite API Documentation

Module Ft.Rdf.Drivers.Dbm

A persistent RDF model driver using the Memory driver, but pickling to the file system
Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Classes

class DbAdapter(Ft.Rdf.Drivers.Memory.DbAdapter)
# The RDF Adapter interface

Methods

__init__(self, name, modelName='default')
Overrides: __init__ from class DbAdapter
add(self, statements)
Overrides: add from class DbAdapter
begin(self)
Overrides: begin from class DbAdapter
bind(self, object, name, scope)
Overrides: bind from class DbAdapter
commit(self)
Overrides: commit from class DbAdapter
remove(self, statements)
Overrides: remove from class DbAdapter
removePattern(self, subject, predicate, object, statementUri, scope, flags)
Overrides: removePattern from class DbAdapter
rollback(self)
Overrides: rollback from class DbAdapter
unbind(self, name, scope)
Overrides: unbind from class DbAdapter

Methods inherited from class Ft.Rdf.Drivers.Memory.DbAdapter

class ModelCache

Methods

__init__(self)
begin(self, fName, modelName)
commit(self, fName, statements, bound, modelName)

Functions

CreateDb(dbName, modelName='default')
CreateFileName(dbName)
DestroyDb(dbName, modelName='default')
ExistsDb(dbName, modelName='default')
# Management functions
GetDb(dbName, modelName='default')
InitializeModule()
Post-import hook to initialize module's runtime variables that are not required at import time, but will be needed before the module-level functions are called.

Globals

g_modelCache = <Ft.Rdf.Drivers.Dbm.ModelCache instance>