org.apache.derby.impl.tools.dblook
Class DB_Key

java.lang.Object
  extended by org.apache.derby.impl.tools.dblook.DB_Key

public class DB_Key
extends java.lang.Object


Field Summary
private static java.sql.PreparedStatement getReferenceCols
           
private static boolean printedHeader
           
 
Constructor Summary
DB_Key()
           
 
Method Summary
private static void createKeysFrom(java.sql.ResultSet rs)
           
private static java.lang.StringBuffer createKeyString(java.lang.String tableId, java.lang.String tableName, java.sql.ResultSet aKey)
           
static void doKeys(java.sql.Connection conn)
           
private static java.lang.String expandKeyType(char keyType)
           
private static java.lang.String makeFKReferenceClause(java.lang.String constraintId, char deleteChar, char updateChar)
           
private static void printHeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

getReferenceCols

private static java.sql.PreparedStatement getReferenceCols

printedHeader

private static boolean printedHeader
Constructor Detail

DB_Key

public DB_Key()
Method Detail

doKeys

public static void doKeys(java.sql.Connection conn)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

createKeysFrom

private static void createKeysFrom(java.sql.ResultSet rs)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

createKeyString

private static java.lang.StringBuffer createKeyString(java.lang.String tableId,
                                                      java.lang.String tableName,
                                                      java.sql.ResultSet aKey)
                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

expandKeyType

private static java.lang.String expandKeyType(char keyType)

makeFKReferenceClause

private static java.lang.String makeFKReferenceClause(java.lang.String constraintId,
                                                      char deleteChar,
                                                      char updateChar)
                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

printHeader

private static void printHeader()

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.