org.opennms.netmgt.dao.db
Class Index
java.lang.Object
org.opennms.netmgt.dao.db.Index
public class Index
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Index
public Index(String name,
String table,
String using,
List<String> columns,
boolean unique,
String where)
findIndexInString
public static Index findIndexInString(String create)
isOnDatabase
public boolean isOnDatabase(Connection connection)
throws SQLException
- Throws:
SQLException
removeFromDatabase
public void removeFromDatabase(Connection connection)
throws SQLException
- Throws:
SQLException
addToDatabase
public void addToDatabase(Connection connection)
throws SQLException
- Throws:
SQLException
getSql
public String getSql()
getName
public String getName()
getTable
public String getTable()
isUnique
public boolean isUnique()
getColumns
public List<String> getColumns()
getIndexUniquenessQuery
public String getIndexUniquenessQuery()
throws Exception
- Throws:
Exception
Copyright © 2009. All Rights Reserved.