net.sourceforge.backpedal.api.core
Interface BindVariableResolver

All Known Implementing Classes:
BindVariableResolverImpl

public interface BindVariableResolver


Method Summary
 Collection getBindVariableSetsForMutatedRows(ParsedStatement parsedStatement, BindVariableSet bindVariableSet, TableMetadata tableMetadata, Connection connection)
          For all the rows affected by parsedStatement, return a BindVariableSet instance that contains the current values for all thr columns affected by parsedStatement.
 

Method Detail

getBindVariableSetsForMutatedRows

public Collection getBindVariableSetsForMutatedRows(ParsedStatement parsedStatement,
                                                    BindVariableSet bindVariableSet,
                                                    TableMetadata tableMetadata,
                                                    Connection connection)
For all the rows affected by parsedStatement, return a BindVariableSet instance that contains the current values for all thr columns affected by parsedStatement.

Parameters:
parsedStatement - a SQL statement that is about to execute on the database
bindVariableSet - the bind variables that will be used to populate parsedStatement
tableMetadata - description of the columns in the table being affected by parsedStatement
connection - a real JDBC connection to the database (so that current values can be read)
Returns:
a collection of BindVariableSet instances, one for each row affected by parsedStatement. Each BindVariableSet will contain the current values for the columns being affected in each row.


Copyright © Sourceforge. All Rights Reserved.