Class DropColumn

    • Constructor Detail

      • DropColumn

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

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

      • postgresColumnExists

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

        public String getSchemaName()
        Returns:
        the schemaName
      • getTableName

        public String getTableName()
        Returns:
        the tableName
      • getColumnNames

        public List<String> getColumnNames()
        Returns:
        the columnNames