Class Db2CreateTablespace

    • Constructor Summary

      Constructors 
      Constructor Description
      Db2CreateTablespace​(java.lang.String tablespaceName)
      The constructor builds a table space with the given name.
      Db2CreateTablespace​(java.lang.String tablespaceName, int extentSizeKB)
      Public constructor with optional extent size in KB
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(IDatabaseTranslator translator, java.sql.Connection c)
      Execute the statement using the connection.
      protected boolean tablespaceExists​(IDatabaseTranslator translator, java.sql.Connection c)
      Check if the given tablespace exists
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Db2CreateTablespace

        public Db2CreateTablespace​(java.lang.String tablespaceName)
        The constructor builds a table space with the given name.
        Parameters:
        tablespaceName -
      • Db2CreateTablespace

        public Db2CreateTablespace​(java.lang.String tablespaceName,
                                   int extentSizeKB)
        Public constructor with optional extent size in KB
        Parameters:
        tablespaceName -
        extentSizeKB -
    • Method Detail

      • tablespaceExists

        protected boolean tablespaceExists​(IDatabaseTranslator translator,
                                           java.sql.Connection c)
        Check if the given tablespace exists
        Parameters:
        translator -
        c -
        Returns: