public class DefaultQueryMappingConfiguration extends Object implements QueryMappingConfiguration
QueryMappingConfiguration that allows for registration of RowMappers and
ResultSetExtractors 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 QueryMappingConfigurationpublic <T> DefaultQueryMappingConfiguration registerRowMapper(Class<T> type, RowMapper<? extends T> rowMapper)
RowMapper as to be used for the given type.Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.