net.sourceforge.schemaspy
Class SchemaSpy

java.lang.Object
  extended by net.sourceforge.schemaspy.SchemaSpy

public class SchemaSpy
extends Object


Constructor Summary
SchemaSpy(Connection connection, DatabaseMetaData meta, String dbName, String schema, String description, Properties properties, Pattern include, int maxThreads)
           
 
Method Summary
 Database getDatabase()
           
 List sortTablesByRI(Collection recursiveConstraints)
          Returns a list of Tables ordered such that parents are listed first and child tables are listed last.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaSpy

public SchemaSpy(Connection connection,
                 DatabaseMetaData meta,
                 String dbName,
                 String schema,
                 String description,
                 Properties properties,
                 Pattern include,
                 int maxThreads)
          throws SQLException
Throws:
SQLException
Method Detail

getDatabase

public Database getDatabase()

sortTablesByRI

public List sortTablesByRI(Collection recursiveConstraints)
Returns a list of Tables ordered such that parents are listed first and child tables are listed last. recursiveConstraints gets populated with TableConstraints that had to be removed to resolve the returned list.

Returns:


Copyright © 2007-2010. All Rights Reserved.