Class DropColumn

    • Constructor Summary

      Constructors 
      Constructor Description
      DropColumn​(java.lang.String schemaName, java.lang.String tableName, boolean ignoreError, java.lang.String... columnName)
      Public constructor
      DropColumn​(java.lang.String schemaName, java.lang.String tableName, java.lang.String... columnName)
      Public constructor
    • Constructor Detail

      • DropColumn

        public DropColumn​(java.lang.String schemaName,
                          java.lang.String tableName,
                          java.lang.String... columnName)
        Public constructor
        Parameters:
        schemaName -
        tableName -
        columnName -
      • DropColumn

        public DropColumn​(java.lang.String schemaName,
                          java.lang.String tableName,
                          boolean ignoreError,
                          java.lang.String... columnName)
        Public constructor
        Parameters:
        schemaName -
        tableName -
        ignoreError -
        columnName -
    • Method Detail

      • postgresColumnExists

        public boolean postgresColumnExists​(IDatabaseTranslator translator,
                                            java.sql.Connection c,
                                            java.lang.String columnName)
        Special check that the column exists before we try to drop it
        Parameters:
        columnName -
        Returns:
      • getSchemaName

        public java.lang.String getSchemaName()
        Returns:
        the schemaName
      • getTableName

        public java.lang.String getTableName()
        Returns:
        the tableName
      • getColumnNames

        public java.util.List<java.lang.String> getColumnNames()
        Returns:
        the columnNames