public class RowNumMapper extends ResultSetMapper
Constructor and Description |
---|
RowNumMapper() |
Modifier and Type | Method and Description |
---|---|
protected Result |
map(Result result,
ResultSetSchema schema)
Returns a transformed result row, or null if the row is removed.
|
ResultSet |
map(ResultSet resultSet)
Take a complete result set and replace it with one altered according to the rules of the concrete mapper.
|
protected ResultSetSchema |
map(ResultSetSchema schema)
Returns a transformed schema.
|
equals, hashCode
public ResultSet map(ResultSet resultSet)
ResultSetMapper
map
in class ResultSetMapper
resultSet
- The unmapped result setprotected Result map(Result result, ResultSetSchema schema)
ResultSetMapper
map
in class ResultSetMapper
result
- The result row being transformedschema
- The schema for that resultprotected ResultSetSchema map(ResultSetSchema schema)
ResultSetMapper
map
in class ResultSetMapper
schema
- The schema being mappedCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.