public abstract class AbstractEnumerableDelegateMapper<ROW,SET,T,E extends Exception> extends AbstractEnumerableMapper<SET,T,E> implements SetRowMapper<ROW,SET,T,E>
errorHandler| Constructor and Description |
|---|
AbstractEnumerableDelegateMapper(ConsumerErrorHandler errorHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ContextualSourceMapper<ROW,T> |
getMapper(ROW source) |
T |
map(ROW source)
map the current row of source object to a new newInstance of T.
|
T |
map(ROW source,
MappingContext<? super ROW> context)
map the current row of source object to a new newInstance of T.
|
forEach, iterator, streamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenumerate, forEach, iterator, streampublic AbstractEnumerableDelegateMapper(ConsumerErrorHandler errorHandler)
public final T map(ROW source) throws MappingException
ContextualSourceMappermap in interface ContextualSourceMapper<ROW,T>source - object to map fromMappingException - if an exception occurspublic final T map(ROW source, MappingContext<? super ROW> context) throws MappingException
SourceMappermap in interface SourceMapper<ROW,T>source - object to map fromcontext - the contextMappingException - if an exception occursprotected abstract ContextualSourceMapper<ROW,T> getMapper(ROW source)
Copyright © 2020. All rights reserved.