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 void
private static StringBuffer
createKeyString
(String tableId, String tableName, ResultSet aKey) static void
doKeys
(Connection conn) private static String
expandKeyType
(char keyType) (package private) static void
makeDeferredClauses
(StringBuffer buffer, ResultSet constraint, int stateColumn) private static String
makeFKReferenceClause
(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()
-