ajax.wrappers
Interface Wrapper
- All Known Implementing Classes:
- FileWrapper, JdbcWrapper
- public interface Wrapper
Interface used for accessing to base dirty data or transformation results
and storing transformation results
The result of a transformation or a set of dirty data is stored in a
storage unit that can be a relational table or a file.
In the first case, a JDBC wrapper is used;
in the second case a File wrapper is used
Method Summary |
void |
close()
close the storage unit |
java.sql.ResultSet |
executeQuery(java.lang.String sql)
Executes a query: selects data |
int |
executeUpdate(java.lang.String sql)
execute an update |
executeQuery
public java.sql.ResultSet executeQuery(java.lang.String sql)
throws java.sql.SQLException
- Executes a query: selects data
executeUpdate
public int executeUpdate(java.lang.String sql)
throws WrapperException
- execute an update
close
public void close()
throws WrapperException
- close the storage unit