Class DB2Schema

java.lang.Object
org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
org.flywaydb.database.db2.DB2Schema

public class DB2Schema extends org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
DB2 implementation of Schema.
  • Field Summary

    Fields inherited from class org.flywaydb.core.internal.database.base.Schema

    database, jdbcTemplate, name
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.flywaydb.core.internal.database.base.Function[]
     
    protected DB2Table[]
     
    protected void
     
    protected void
     
    protected void
     
    protected boolean
     
    protected boolean
     
    org.flywaydb.core.internal.database.base.Function
    getFunction(String functionName, String... args)
     
    org.flywaydb.core.internal.database.base.Table
    getTable(String tableName)
     
    protected org.flywaydb.core.internal.database.base.Type
    getType(String typeName)
     

    Methods inherited from class org.flywaydb.core.internal.database.base.Schema

    allFunctions, allTables, allTypes, clean, create, drop, empty, equals, exists, getName, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • doExists

      protected boolean doExists() throws SQLException
      Specified by:
      doExists in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
      Throws:
      SQLException
    • doEmpty

      protected boolean doEmpty() throws SQLException
      Specified by:
      doEmpty in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
      Throws:
      SQLException
    • doCreate

      protected void doCreate() throws SQLException
      Specified by:
      doCreate in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
      Throws:
      SQLException
    • doDrop

      protected void doDrop() throws SQLException
      Specified by:
      doDrop in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
      Throws:
      SQLException
    • doClean

      protected void doClean() throws SQLException
      Specified by:
      doClean in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
      Throws:
      SQLException
    • doAllTables

      protected DB2Table[] doAllTables() throws SQLException
      Specified by:
      doAllTables in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
      Throws:
      SQLException
    • doAllFunctions

      protected org.flywaydb.core.internal.database.base.Function[] doAllFunctions() throws SQLException
      Overrides:
      doAllFunctions in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
      Throws:
      SQLException
    • getTable

      public org.flywaydb.core.internal.database.base.Table getTable(String tableName)
      Specified by:
      getTable in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
    • getType

      protected org.flywaydb.core.internal.database.base.Type getType(String typeName)
      Overrides:
      getType in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>
    • getFunction

      public org.flywaydb.core.internal.database.base.Function getFunction(String functionName, String... args)
      Overrides:
      getFunction in class org.flywaydb.core.internal.database.base.Schema<DB2Database,DB2Table>