Package rdflib :: Package store :: Module MySQL
[show private | hide private]
[frames | no frames]

Module rdflib.store.MySQL

Classes
MySQL MySQL implementation of FOPL Relational Model as an rdflib Store

Function Summary
  createTerm(termString, termType, store, objLanguage, objDatatype)
  extractTriple(tupleRt, store, hardCodedContext)
  ParseConfigurationString(config_string)
Parses a configuration string in the form: key1=val1,key2=val2,key3=val3,...

Variable Summary
NoneType Any = None                                                                  
str CREATE_NS_BINDS_TABLE = '\nCREATE TABLE %s_namespace_bin...

Function Details

ParseConfigurationString(config_string)

Parses a configuration string in the form: key1=val1,key2=val2,key3=val3,... The following configuration keys are expected (not all are required): user password db host port (optional - defaults to 3306)

Variable Details

Any

Type:
NoneType
Value:
None                                                                  

CREATE_NS_BINDS_TABLE

Type:
str
Value:
'''
CREATE TABLE %s_namespace_binds (
    prefix        varchar(20) UNIQUE not NULL,
    uri           text,
    PRIMARY KEY (prefix),
    INDEX uri_index (uri(100))) ENGINE=InnoDB'''                       

Generated by Epydoc 2.1 on Mon Oct 23 14:11:24 2006 http://epydoc.sf.net