Interface JdbcValidator

  • All Known Implementing Classes:
    WorkbenchJdbcValidator

    public interface JdbcValidator
    Validation for database schema, table, and columns. Extracted interface from mondrian.gui.JDBCMetaData.
    Author:
    mlowery
    • Method Detail

      • getColumnDataType

        int getColumnDataType​(String schemaName,
                              String tableName,
                              String colName)
        Returns the data type of given column.
        Returns:
        SQL type from java.sql.Types
      • isColExists

        boolean isColExists​(String schemaName,
                            String tableName,
                            String colName)
        Returns true if column exists.
      • isTableExists

        boolean isTableExists​(String schemaName,
                              String tableName)
        Returns true if table exists.
      • isInitialized

        boolean isInitialized()
        Returns true if this object successfully connected to database (and validation methods can now be called).
      • isSchemaExists

        boolean isSchemaExists​(String schemaName)
        Returns true if schema exists.