public class DefaultQueryMappingConfiguration extends Object implements QueryMappingConfiguration
QueryMappingConfiguration
that allows for registration of RowMapper
s and
ResultSetExtractor
s via a fluent Api.EMPTY
Constructor and Description |
---|
DefaultQueryMappingConfiguration() |
Modifier and Type | Method and Description |
---|---|
<T> RowMapper<? extends T> |
getRowMapper(Class<T> type) |
<T> DefaultQueryMappingConfiguration |
registerRowMapper(Class<T> type,
RowMapper<? extends T> rowMapper)
Registers a the given
RowMapper as to be used for the given type. |
@Nullable public <T> RowMapper<? extends T> getRowMapper(Class<T> type)
getRowMapper
in interface QueryMappingConfiguration
public <T> DefaultQueryMappingConfiguration registerRowMapper(Class<T> type, RowMapper<? extends T> rowMapper)
RowMapper
as to be used for the given type.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.