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 Map
getIndexes(String table_name, DatabaseMetaData dbm)
protected static Map
getPrimaryKeys(String table_name, DatabaseMetaData dbm)
static void
main(String[] argv)
protected static void
print(String prefix, Collection c)
protected static void
print(String prefix, Map m)
protected static String
unquote(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
-
-