@FunctionalInterface public interface RowMapperFactory
| Modifier and Type | Method and Description |
|---|---|
Optional<RowMapper<?>> |
build(Type type,
ConfigRegistry config)
Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.
|
static RowMapperFactory |
of(Type type,
RowMapper<?> mapper)
|
Optional<RowMapper<?>> build(Type type, ConfigRegistry config)
type - the target type to map toconfig - the config registry, for compositionOptional.empty() otherwise.for compositionstatic RowMapperFactory of(Type type, RowMapper<?> mapper)
type - the type to match with equals.mapper - the mapper to returnCopyright © 2017. All rights reserved.