Interface QueryMappingConfiguration
- All Known Implementing Classes:
DefaultQueryMappingConfiguration
public interface QueryMappingConfiguration
Configures a
RowMapper for each type to be used for extracting entities of that
type from a ResultSet.- Since:
- 4.0
- Author:
- Jens Schauder, Evgeni Dimitrov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QueryMappingConfigurationAn immutable empty instance that will return null for all arguments. -
Method Summary
Modifier and TypeMethodDescription<T> @Nullable RowMapper<? extends T>getRowMapper(Class<T> type) Returns theRowMapperto be used for the given type or null if no specific mapper is configured.
-
Field Details
-
EMPTY
An immutable empty instance that will return null for all arguments.
-
-
Method Details
-
getRowMapper
Returns theRowMapperto be used for the given type or null if no specific mapper is configured.- Parameters:
type-- Returns:
-