liquibase.statement
Class ExecutablePreparedStatementBase
java.lang.Object
liquibase.statement.ExecutablePreparedStatementBase
- All Implemented Interfaces:
- ExecutablePreparedStatement, SqlStatement
- Direct Known Subclasses:
- InsertExecutablePreparedStatement, UpdateExecutablePreparedStatement
public abstract class ExecutablePreparedStatementBase
- extends Object
- implements ExecutablePreparedStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
database
protected Database database
ExecutablePreparedStatementBase
protected ExecutablePreparedStatementBase(Database database,
String catalogName,
String schemaName,
String tableName,
List<ColumnConfig> columns,
ChangeSet changeSet,
ResourceAccessor resourceAccessor)
execute
public void execute(PreparedStatementFactory factory)
throws DatabaseException
- Description copied from interface:
ExecutablePreparedStatement
- Execute the prepared statement
- Specified by:
execute
in interface ExecutablePreparedStatement
- Parameters:
factory
- for creating a PreparedStatement
object
- Throws:
DatabaseException
generateSql
protected abstract String generateSql(List<ColumnConfig> cols)
getAbsolutePath
public String getAbsolutePath(String path)
- Gets absolute and normalized path for path.
If path is relative, absolute path is calculated relative to change log file.
- Parameters:
path
- Absolute or relative path.
- Returns:
- Absolute and normalized path.
skipOnUnsupported
public boolean skipOnUnsupported()
- Specified by:
skipOnUnsupported
in interface SqlStatement
getCatalogName
public String getCatalogName()
getSchemaName
public String getSchemaName()
getTableName
public String getTableName()
getColumns
public List<ColumnConfig> getColumns()
Copyright © 2016 Liquibase.org. All rights reserved.