public interface QueryInOutMapper<E>
| Modifier and Type | Method and Description |
|---|---|
Object |
mapParameter(Object parameter)
Map a query parameter.
|
Object |
mapResult(E result)
Map a single result query.
|
Object |
mapResultList(List<E> result)
Map a query result list.
|
boolean |
mapsParameter(Object parameter)
Check if this mapper handles a specific input parameter.
|
Object mapResult(E result)
result - The query result to map.Object mapResultList(List<E> result)
result - The query result list to map.boolean mapsParameter(Object parameter)
parameter - The parameter candidate for mapping.true if the mapper handles the parameter.Object mapParameter(Object parameter)
parameter - The parameter to map. It can be assumed that the
mapsParameter(Object) method has been
called before with this parameter.Copyright © 2015 The Apache Software Foundation. All rights reserved.