|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jdbcimporter.engine.ImportEngineHelper
Helper class for ImportEngines.
| Field Summary | |
protected JDBCParameterHelper |
helper
Deprecated. The helper. |
| Constructor Summary | |
ImportEngineHelper()
Deprecated. |
|
| Method Summary | |
boolean |
compareResultSet(java.sql.ResultSet rset,
ImportColumnDef[] columns,
int[] compareIndices,
ColumnValue[] values)
Deprecated. Compares the values in the result set with the list of column values. |
ColumnValue |
getColumn(java.sql.ResultSet resultSet,
int column,
ColumnDef def)
Deprecated. Returns column value at the given column location. |
int[] |
resolveRowStates(java.sql.Connection con,
ImportEntityDef entityDef,
java.util.List rows,
int[] keyIndices,
int[] compareIndices)
Deprecated. Resolve the states of the rows. |
void |
setColumn(java.sql.PreparedStatement pstmt,
int column,
ColumnDef def,
ColumnValue val)
Deprecated. Set the column value in the prepared statement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected JDBCParameterHelper helper
| Constructor Detail |
public ImportEngineHelper()
| Method Detail |
public void setColumn(java.sql.PreparedStatement pstmt,
int column,
ColumnDef def,
ColumnValue val)
throws MalformedDataException
pstmt - the prepared statementcolumn - the column indexdef - the column definitionval - the column value
MalformedDataException
public int[] resolveRowStates(java.sql.Connection con,
ImportEntityDef entityDef,
java.util.List rows,
int[] keyIndices,
int[] compareIndices)
con - the connectionentityDef - the entity definitionrows - list of rowskeyIndices - the indices of column values that make up the primary keycompareIndices - the indices of column values that should be compared
public boolean compareResultSet(java.sql.ResultSet rset,
ImportColumnDef[] columns,
int[] compareIndices,
ColumnValue[] values)
throws java.sql.SQLException
rset - the result setcolumns - the column definitionscompareIndices - the indices of column values that should be comparedvalues - the column values
java.sql.SQLException - if an error occurred while retrieving a column value from the result set
public ColumnValue getColumn(java.sql.ResultSet resultSet,
int column,
ColumnDef def)
throws java.sql.SQLException
resultSet - the result setcolumn - the column indexdef - the column definition
java.sql.SQLException - if an error occurred while retrieving the column value from the result set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||