public class SketchRoundUpMapper extends ResultSetMapper implements ColumnMapper
| Constructor and Description |
|---|
SketchRoundUpMapper(FieldName columnName)
The column name to round.
|
SketchRoundUpMapper(String columnName)
The column name to round.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Since a ResultSetMapper has no state associated with it, we consider two ResultSetMappers to be the same iff
they are of the same class.
|
int |
hashCode() |
protected Result |
map(Result result,
ResultSetSchema schema)
Returns a transformed result row, or null if the row is removed.
|
protected ResultSetSchema |
map(ResultSetSchema schema)
Returns a transformed schema.
|
ResultSetMapper |
withColumnName(String newColumnName)
Deprecated.
|
mappublic SketchRoundUpMapper(FieldName columnName)
columnName - The column namepublic SketchRoundUpMapper(String columnName)
columnName - The column nameprotected Result map(Result result, ResultSetSchema schema)
ResultSetMappermap in class ResultSetMapperresult - The result row being transformedschema - The schema for that resultprotected ResultSetSchema map(ResultSetSchema schema)
ResultSetMappermap in class ResultSetMapperschema - The schema being mapped@Deprecated public ResultSetMapper withColumnName(String newColumnName)
ColumnMapperwithColumnName in interface ColumnMappernewColumnName - The name of column used to construct the mapperpublic boolean equals(Object o)
ResultSetMapperequals in class ResultSetMappero - The object this is being compared topublic int hashCode()
hashCode in class ResultSetMapperCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.