net.ontopia.topicmaps.query.utils
Interface RowMapperIF<T>


public interface RowMapperIF<T>

EXPERIMENTAL: Interface to be implemented by row mappers used by the queryForList method on QueryWrapper.

Since:
3.4.4

Method Summary
 T mapRow(QueryResultIF result, int rowno)
          EXPERIMENTAL: This method is called once for each row in query results, and the returned object is added to the list returned by queryForList.
 

Method Detail

mapRow

T mapRow(QueryResultIF result,
         int rowno)
EXPERIMENTAL: This method is called once for each row in query results, and the returned object is added to the list returned by queryForList.

Parameters:
result - the query result object
rowno - the number of this row in the current query result (in zero-based counting)
Returns:
an object to put into the query result list


Copyright © 2000-2012 Ontopia.