|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.util.sql.lgTables.SQLLiteTableUtilities
public class SQLLiteTableUtilities
Class for creating, adding/removing constraints, and cleaning the SQLLite tables.
Constructor Summary | |
---|---|
SQLLiteTableUtilities(java.sql.Connection sqlConnection)
|
Method Summary | |
---|---|
void |
cleanTables(java.lang.String codingScheme)
Remove all data from the tables of a given Coding Scheme |
void |
createAllTables()
Creates the Tables |
void |
createTableConstraints()
Creates the constraints on the tables |
void |
dropTableConstraints()
|
java.lang.String |
getDatabaseType()
Returns the specific database type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLLiteTableUtilities(java.sql.Connection sqlConnection) throws java.lang.Exception
sqlConnection
-
java.lang.Exception
Method Detail |
---|
public java.lang.String getDatabaseType()
public void createAllTables() throws java.sql.SQLException
java.sql.SQLException
public void createTableConstraints() throws java.sql.SQLException
java.sql.SQLException
public void dropTableConstraints() throws java.sql.SQLException
java.sql.SQLException
public void cleanTables(java.lang.String codingScheme) throws java.sql.SQLException
codingScheme
- target Coding Scheme
java.sql.SQLException
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |