|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dbmaintain.database.Database
org.dbmaintain.database.impl.InformixDatabase
public class InformixDatabase
Implementation of Database
for a hsqldb database
Field Summary |
---|
Fields inherited from class org.dbmaintain.database.Database |
---|
databaseConnection, identifierProcessor, schemaNames |
Constructor Summary | |
---|---|
InformixDatabase(DatabaseConnection databaseConnection,
IdentifierProcessor identifierProcessor)
|
Method Summary | |
---|---|
protected void |
disableConstraints(String schemaName,
String constraintType)
|
void |
disableReferentialConstraints(String schemaName)
Disables all referential constraints (e.g. foreign keys) on all table in the given schema |
void |
disableValueConstraints(String schemaName)
Disables all value constraints (e.g. not null) on all tables in the given schema |
Set<String> |
getColumnNames(String schemaName,
String tableName)
Gets the names of all columns of the given table. |
String |
getSupportedDatabaseDialect()
|
Set<String> |
getTableNames(String schemaName)
Returns the names of all tables in the given schema. |
Set<String> |
getViewNames(String schemaName)
Retrieves the names of all the views in the database schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InformixDatabase(DatabaseConnection databaseConnection, IdentifierProcessor identifierProcessor)
Method Detail |
---|
public String getSupportedDatabaseDialect()
getSupportedDatabaseDialect
in class Database
public Set<String> getTableNames(String schemaName)
Database
getTableNames
in class Database
schemaName
- The schema, not null
public Set<String> getColumnNames(String schemaName, String tableName)
Database
getColumnNames
in class Database
schemaName
- The schema, not nulltableName
- The table, not null
public Set<String> getViewNames(String schemaName)
Database
getViewNames
in class Database
schemaName
- The schema, not null
public void disableReferentialConstraints(String schemaName)
Database
disableReferentialConstraints
in class Database
schemaName
- The schema, not nullpublic void disableValueConstraints(String schemaName)
Database
disableValueConstraints
in class Database
schemaName
- The schema, not nullprotected void disableConstraints(String schemaName, String constraintType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |