4Suite API Documentation

Module Ft.Rdf.Drivers.Sqlite

A persistent RDF model driver using the SQLite database driver.
Copyright 2006 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.SQL.SqlAdapter)

Methods

__init__(self, name, modelName='default')
Overrides: __init__ from class SqlAdapter

Methods inherited from class Ft.Rdf.Drivers.SQL.SqlAdapter

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Members

comparison = {None: '=', 0: '=', 1: ' LIKE ', 2: ' REGEXP ', 3: ' REGEXP '}
paramstyle = 'named'

Members inherited from class Ft.Rdf.Drivers.SQL.SqlAdapter

Members inherited from class object

__class__

Functions

CreateDb(dbName, modelName='default')
CreateFileName(dbName)
DestroyDb(dbName, modelName='default')
ExistsDb(dbName, modelName='default')
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

CREATE_DDL = '\nCREATE TABLE ftrdf_%(model)s_statement (\n su..._idx ON ftrdf_%(model)s_statement (\n domain);\n'