DefaultQueryMappingConfiguration
instead.@Deprecated public class ConfigurableRowMapperMap extends Object implements RowMapperMap
RowMapperMap
that allows for registration of RowMapper
s via a fluent Api.EMPTY
Constructor and Description |
---|
ConfigurableRowMapperMap()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> ConfigurableRowMapperMap |
register(Class<T> type,
RowMapper<? extends T> rowMapper)
Deprecated.
Registers a the given
RowMapper as to be used for the given type. |
<T> RowMapper<? extends T> |
rowMapperFor(Class<T> type)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRowMapper
public <T> ConfigurableRowMapperMap register(Class<T> type, RowMapper<? extends T> rowMapper)
RowMapper
as to be used for the given type.@Nullable public <T> RowMapper<? extends T> rowMapperFor(Class<T> type)
RowMapper
for the given type if such a RowMapper
is present. If an exact match is found
that is returned. If not a RowMapper
is returned that produces subtypes of the requested type. If no such
RowMapper
is found the method returns null
.rowMapperFor
in interface RowMapperMap
T
- the type to be produced by the returned RowMapper
.type
- the type to be produced by the returned RowMapper
. Must not be null
.null
.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.