DbStruct Pile   version 0.0.1
This pile contains classes that can be used to
pileschema.Driver Class Reference
+ Inheritance diagram for pileschema.Driver:

Public Member Functions

def __init__ (self)
 
def database_start (self, name, node)
 
def database_end (self, name, node)
 
def table_start (self, name, node)
 
def table_end (self, name, node)
 
def column (self, name, label, datatype, nulls, node, dtnode)
 
def view_start (self, name, node)
 
def view_end (self, name, node)
 
def view_subset (self, node, subset)
 
def check_foreign_keys (self)
 

Static Public Member Functions

def get_foreign_key (node)
 

Public Attributes

 views
 
 tables
 

Detailed Description

Default implementation with regard to the underlying
Sql variant.

Member Function Documentation

def pileschema.Driver.check_foreign_keys (   self)
Make sure that all columns referenced in foreign keys actually exist.
def pileschema.Driver.column (   self,
  name,
  label,
  datatype,
  nulls,
  node,
  dtnode 
)
Processing a column
def pileschema.Driver.database_end (   self,
  name,
  node 
)
Done processing database `name`
def pileschema.Driver.database_start (   self,
  name,
  node 
)
Starting to process database `name`
def pileschema.Driver.get_foreign_key (   node)
static
Extracts foreign key data from an xml node

The result is None if no foreign key exists of a list of three elements:
the table, the key column and the columns that should replace
original key in a presentation to the user.
def pileschema.Driver.table_end (   self,
  name,
  node 
)
Done processing table `name`
def pileschema.Driver.table_start (   self,
  name,
  node 
)
Starting to process table `name`
def pileschema.Driver.view_end (   self,
  name,
  node 
)
Done processing view `name`
def pileschema.Driver.view_start (   self,
  name,
  node 
)
Starting to process view `name`
def pileschema.Driver.view_subset (   self,
  node,
  subset 
)
Process a subset in a view

The documentation for this class was generated from the following file: