net.ontopia.topicmaps.cmdlineutils.rdbms
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDBMSIndexTool
public RDBMSIndexTool()
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
print
protected static void print(String prefix,
Collection c)
print
protected static void print(String prefix,
Map m)
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
unquote
protected static String unquote(String column_name,
String quote)
Copyright © 2000-2012 Ontopia.