Class RDBMSIndexTool
- java.lang.Object
-
- net.ontopia.topicmaps.cmdlineutils.rdbms.RDBMSIndexTool
-
public class RDBMSIndexTool extends Object
EXPERIMENTAL: A tool that inspects a database to see if the proper indexes has been created.
-
-
Constructor Summary
Constructors Constructor Description RDBMSIndexTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static MapgetIndexes(String table_name, DatabaseMetaData dbm)protected static MapgetPrimaryKeys(String table_name, DatabaseMetaData dbm)static voidmain(String[] argv)protected static voidprint(String prefix, Collection c)protected static voidprint(String prefix, Map m)protected static Stringunquote(String column_name, String quote)
-
-
-
Method Detail
-
print
protected static void print(String prefix, Collection c)
-
getIndexes
protected static Map getIndexes(String table_name, DatabaseMetaData dbm) throws SQLException
- Throws:
SQLException
-
getPrimaryKeys
protected static Map getPrimaryKeys(String table_name, DatabaseMetaData dbm) throws SQLException
- Throws:
SQLException
-
-