Package liquibase.statement.core
Class InsertOrUpdateStatement
- java.lang.Object
-
- liquibase.statement.AbstractSqlStatement
-
- liquibase.statement.core.InsertStatement
-
- liquibase.statement.core.InsertOrUpdateStatement
-
- All Implemented Interfaces:
SqlStatement
public class InsertOrUpdateStatement extends InsertStatement
-
-
Field Summary
-
Fields inherited from interface liquibase.statement.SqlStatement
EMPTY_SQL_STATEMENT
-
-
Constructor Summary
Constructors Constructor Description InsertOrUpdateStatement(String catalogName, String schemaName, String tableName, String primaryKey)
InsertOrUpdateStatement(String catalogName, String schemaName, String tableName, String primaryKey, boolean onlyUpdate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAllowColumnUpdate(String columnName)
Boolean
getOnlyUpdate()
String
getPrimaryKey()
void
setAllowColumnUpdate(String columnName, boolean allowUpdate)
void
setOnlyUpdate(Boolean onlyUpdate)
-
Methods inherited from class liquibase.statement.core.InsertStatement
addColumn, addColumnValue, getCatalogName, getColumnValue, getColumnValues, getSchemaName, getTableName
-
Methods inherited from class liquibase.statement.AbstractSqlStatement
continueOnError, setContinueOnError, skipOnUnsupported
-
-
-
-
Method Detail
-
getPrimaryKey
public String getPrimaryKey()
-
getOnlyUpdate
public Boolean getOnlyUpdate()
-
setOnlyUpdate
public void setOnlyUpdate(Boolean onlyUpdate)
-
getAllowColumnUpdate
public boolean getAllowColumnUpdate(String columnName)
-
setAllowColumnUpdate
public void setAllowColumnUpdate(String columnName, boolean allowUpdate)
-
-