|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.gui.validate.impl.WorkbenchJdbcValidator
public class WorkbenchJdbcValidator
Implementation of JdbcValidator for Workbench.
| Constructor Summary | |
|---|---|
WorkbenchJdbcValidator(JdbcMetaData jdbcMetadata)
|
|
| Method Summary | |
|---|---|
int |
getColumnDataType(String schemaName,
String tableName,
String colName)
Returns the data type of given column. |
boolean |
isColExists(String schemaName,
String tableName,
String colName)
Returns true if column exists. |
boolean |
isInitialized()
Returns true if this object successfully connected to database (and validation methods can now be called). |
boolean |
isSchemaExists(String schemaName)
Returns true if schema exists. |
boolean |
isTableExists(String schemaName,
String tableName)
Returns true if table exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkbenchJdbcValidator(JdbcMetaData jdbcMetadata)
| Method Detail |
|---|
public int getColumnDataType(String schemaName,
String tableName,
String colName)
JdbcValidator
getColumnDataType in interface JdbcValidator
public boolean isColExists(String schemaName,
String tableName,
String colName)
JdbcValidator
isColExists in interface JdbcValidatorpublic boolean isInitialized()
JdbcValidator
isInitialized in interface JdbcValidator
public boolean isTableExists(String schemaName,
String tableName)
JdbcValidator
isTableExists in interface JdbcValidatorpublic boolean isSchemaExists(String schemaName)
JdbcValidator
isSchemaExists in interface JdbcValidator
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||