liquibase.statement
Class ExecutablePreparedStatementBase

java.lang.Object
  extended by liquibase.statement.ExecutablePreparedStatementBase
All Implemented Interfaces:
ExecutablePreparedStatement, SqlStatement
Direct Known Subclasses:
InsertExecutablePreparedStatement, UpdateExecutablePreparedStatement

public abstract class ExecutablePreparedStatementBase
extends Object
implements ExecutablePreparedStatement


Field Summary
protected  Database database
           
 
Constructor Summary
protected ExecutablePreparedStatementBase(Database database, String catalogName, String schemaName, String tableName, List<ColumnConfig> columns)
           
 
Method Summary
 void execute(PreparedStatementFactory factory)
          Execute the prepared statement
protected abstract  String generateSql(List<ColumnConfig> cols)
           
 String getCatalogName()
           
 List<ColumnConfig> getColumns()
           
 String getSchemaName()
           
 String getTableName()
           
 boolean skipOnUnsupported()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

database

protected Database database
Constructor Detail

ExecutablePreparedStatementBase

protected ExecutablePreparedStatementBase(Database database,
                                          String catalogName,
                                          String schemaName,
                                          String tableName,
                                          List<ColumnConfig> columns)
Method Detail

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)

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 © 2013 Liquibase.org. All Rights Reserved.