liquibase.statement.core.DropViewStatement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
package liquibase.statement.core;
import liquibase.statement.AbstractSqlStatement;
public class DropViewStatement extends AbstractSqlStatement {
private final String catalogName;
private final String schemaName;
private final String viewName;
private final Boolean ifExists;
public DropViewStatement(String catalogName, String schemaName, String viewName) {
this(catalogName, schemaName, viewName, null);
}
public DropViewStatement(String catalogName, String schemaName, String viewName, Boolean ifExists) {
this.catalogName = catalogName;
this.schemaName = schemaName;
this.viewName = viewName;
this.ifExists = ifExists;
}
public String getCatalogName() {
return catalogName;
}
public String getSchemaName() {
return schemaName;
}
public String getViewName() {
return viewName;
}
public Boolean isIfExists() {
return ifExists;
}
}