Top Fields Constructors Methods
liquibase.statement.core

public Class CreateViewStatement

extends AbstractSqlStatement
Class Inheritance
Imports
liquibase.statement.AbstractSqlStatement

Field Summary

Modifier and TypeField and Description
private final String
private boolean
private final boolean
private final String
private final String
private final String

Constructor Summary

AccessConstructor and Description
public
CreateViewStatement(String catalogName, String schemaName, String viewName, String selectQuery, boolean replaceIfExists)

Method Summary

Modifier and TypeMethod and Description
public String
public String
public String
public String
public boolean

Returns:

true if a complete CREATE ... VIEW statement is included, false if not.
isFullDefinition
()

Returns the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ...

public boolean
public CreateViewStatement

Returns:

the same, altered object
setFullDefinition
(boolean
true if a CREATE ... VIEW statement is included, false if not.
fullDefinition
)

Sets the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ...

Inherited from liquibase.statement.AbstractSqlStatement:
continueOnErrorsetContinueOnErrorskipOnUnsupported

Field Detail

catalogNameback to summary
private final String catalogName
fullDefinitionback to summary
private boolean fullDefinition
replaceIfExistsback to summary
private final boolean replaceIfExists
schemaNameback to summary
private final String schemaName
selectQueryback to summary
private final String selectQuery
viewNameback to summary
private final String viewName

Constructor Detail

CreateViewStatementback to summary
public CreateViewStatement(String catalogName, String schemaName, String viewName, String selectQuery, boolean replaceIfExists)

Method Detail

getCatalogNameback to summary
public String getCatalogName()
getSchemaNameback to summary
public String getSchemaName()
getSelectQueryback to summary
public String getSelectQuery()
getViewNameback to summary
public String getViewName()
isFullDefinitionback to summary
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:boolean

true if a complete CREATE ... VIEW statement is included, false if not.

isReplaceIfExistsback to summary
public boolean isReplaceIfExists()
setFullDefinitionback to summary
public CreateViewStatement setFullDefinition(boolean fullDefinition)

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:boolean

true if a CREATE ... VIEW statement is included, false if not.

Returns:CreateViewStatement

the same, altered object