org.openstreetmap.osmosis.core.apidb.v0_6.impl
Interface RowMapperListener<T>

Type Parameters:
T - The type of object to be produced.
All Known Implementing Classes:
DbFeatureHistoryRowMapper, DbFeatureRowMapper, DbOrderedFeatureRowMapper, EntityHistoryRowMapper, NodeRowMapper, RelationRowMapper, SortingStoreRowMapperListener, WayRowMapper

public interface RowMapperListener<T>

Receives result objects produced by row mapper implementations. This is used in streaming scenarios where a database result set produces too many results to fit into memory.


Method Summary
 void process(T data, java.sql.ResultSet resultSet)
          Processes the provided object.
 

Method Detail

process

void process(T data,
             java.sql.ResultSet resultSet)
             throws java.sql.SQLException
Processes the provided object.

Parameters:
data - The object read from the result set.
resultSet - The result set pointing at the current row.
Throws:
java.sql.SQLException - if an error occurs reading from the result set.