Package liquibase.statement.core
Class CreateViewStatement
java.lang.Object
liquibase.statement.AbstractSqlStatement
liquibase.statement.core.CreateViewStatement
- All Implemented Interfaces:
SqlStatement
-
Field Summary
Fields inherited from interface liquibase.statement.SqlStatement
EMPTY_SQL_STATEMENT
-
Constructor Summary
ConstructorDescriptionCreateViewStatement
(String catalogName, String schemaName, String viewName, String selectQuery, boolean replaceIfExists) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ...boolean
setFullDefinition
(boolean fullDefinition) Sets the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ...Methods inherited from class liquibase.statement.AbstractSqlStatement
continueOnError, setContinueOnError, skipOnUnsupported
-
Constructor Details
-
CreateViewStatement
-
-
Method Details
-
getCatalogName
-
getSchemaName
-
getViewName
-
getSelectQuery
-
isReplaceIfExists
public boolean isReplaceIfExists() -
isFullDefinition
public boolean isFullDefinition()Returns the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ... AS..." command (true), or just the view definition (SELECT ... FROM data_sources...) (false)?- Returns:
- true if a complete CREATE ... VIEW statement is included, false if not.
-
setFullDefinition
Sets the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ... AS..." command (true), or just the view definition (SELECT ... FROM data_sources...) (false)?- Parameters:
fullDefinition
- true if a CREATE ... VIEW statement is included, false if not.- Returns:
- the same, altered object
-