Class DB_Key
java.lang.Object
org.apache.derby.impl.tools.dblook.DB_Key
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidprivate static StringBuffercreateKeyString(String tableId, String tableName, ResultSet aKey) static voiddoKeys(Connection conn) private static StringexpandKeyType(char keyType) (package private) static voidmakeDeferredClauses(StringBuffer buffer, ResultSet constraint, int stateColumn) private static StringmakeFKReferenceClause(String constraintId, char deleteChar, char updateChar) private static void
-
Field Details
-
getReferenceCols
-
printedHeader
private static boolean printedHeader
-
-
Constructor Details
-
DB_Key
public DB_Key()
-
-
Method Details
-
doKeys
- Throws:
SQLException
-
createKeysFrom
- Throws:
SQLException
-
createKeyString
private static StringBuffer createKeyString(String tableId, String tableName, ResultSet aKey) throws SQLException - Throws:
SQLException
-
expandKeyType
-
makeFKReferenceClause
private static String makeFKReferenceClause(String constraintId, char deleteChar, char updateChar) throws SQLException - Throws:
SQLException
-
makeDeferredClauses
static void makeDeferredClauses(StringBuffer buffer, ResultSet constraint, int stateColumn) throws SQLException - Throws:
SQLException
-
printHeader
private static void printHeader()
-