Top Fields Constructors Methods
org.apache.derby.impl.tools.dblook

public Class DB_Key

extends Object
Class Inheritance
Imports
java.sql.Connection, .Statement, .PreparedStatement, .ResultSet, .SQLException, java.util.HashMap, .ArrayList, .StringTokenizer, org.apache.derby.tools.dblook

Field Summary

Modifier and TypeField and Description
private static PreparedStatement
private static boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
private static StringBuffer
createKeyString(String tableId, String tableName, ResultSet aKey)

public static void
private static String
expandKeyType(char keyType)

pack-priv static void
makeDeferredClauses(StringBuffer buffer, ResultSet constraint, int stateColumn)

private static String
makeFKReferenceClause(String constraintId, char deleteChar, char updateChar)

private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

getReferenceColsback to summary
private static PreparedStatement getReferenceCols
printedHeaderback to summary
private static boolean printedHeader

Constructor Detail

DB_Keyback to summary
public DB_Key()

Method Detail

createKeysFromback to summary
private static void createKeysFrom(ResultSet rs) throws SQLException
createKeyStringback to summary
private static StringBuffer createKeyString(String tableId, String tableName, ResultSet aKey) throws SQLException
doKeysback to summary
public static void doKeys(Connection conn) throws SQLException
expandKeyTypeback to summary
private static String expandKeyType(char keyType)
makeDeferredClausesback to summary
pack-priv static void makeDeferredClauses(StringBuffer buffer, ResultSet constraint, int stateColumn) throws SQLException
makeFKReferenceClauseback to summary
private static String makeFKReferenceClause(String constraintId, char deleteChar, char updateChar) throws SQLException
printHeaderback to summary
private static void printHeader()