org.springframework.data.hadoop.hbase
Interface RowMapper<T>


public interface RowMapper<T>

Callback for mapping rows of a ResultScanner on a per-row basis. Implementations of this interface perform the actual work of mapping each row to a result object, but don't need to worry about exception handling.

Author:
Costin Leau

Method Summary
 T mapRow(Result result, int rowNum)
           
 

Method Detail

mapRow

T mapRow(Result result,
         int rowNum)
         throws Exception
Throws:
Exception