org.apache.derby.impl.tools.dblook
Class DB_Key
java.lang.Object
org.apache.derby.impl.tools.dblook.DB_Key
public class DB_Key
- extends java.lang.Object
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 |
getReferenceCols
private static java.sql.PreparedStatement getReferenceCols
printedHeader
private static boolean printedHeader
DB_Key
public DB_Key()
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()
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.