4Suite API Documentation

Module Ft.Rdf.Drivers.MySQL

A persistent RDF model driver using MySQL with InnoDB
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.SQL.SqlAdapter)

Methods

__init__(self, connString, modelName='default', conn=None)
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 BINARY ', 3: ' REGEXP '}
paramstyle = 'pyformat'

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

Members inherited from class object

__class__

Functions

BuildConnectParams(connString)
Connect(*args, **kwds)
CreateDb(connString, modelName='default')
DestroyDb(connString, modelName='default')
ExistsDb(connString, 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_BOUND_TABLE = '\nCREATE TABLE ftrdf_%(model)s_bound (\n name ... object text,\n domain text) ENGINE=InnoDB\n'
CREATE_STATEMENT_TABLE = '\nCREATE TABLE ftrdf_%(model)s_statement (\n su...)s_stmt_d_index (domain(10))\n ) ENGINE=InnoDB\n'
VERSION = '0.1'