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(org.apache.hadoop.hbase.client.Result result,
int rowNum)
|
mapRow
T mapRow(org.apache.hadoop.hbase.client.Result result,
int rowNum)
throws java.lang.Exception
- Throws:
java.lang.Exception