public class DiscriminatorMapper<ROW,ROWS,T,EX extends Exception> extends AbstractEnumerableDelegateMapper<ROW,ROWS,T,EX>
| Modifier and Type | Class and Description |
|---|---|
static class |
DiscriminatorMapper.PredicatedMapper<ROW,ROWS,T,EX extends Throwable> |
errorHandler| Constructor and Description |
|---|
DiscriminatorMapper(List<DiscriminatorMapper.PredicatedMapper<ROW,ROWS,T,EX>> mappers,
org.simpleflatmapper.util.UnaryFactory<ROWS,org.simpleflatmapper.util.Enumerable<ROW>> rowEnumerableFactory,
org.simpleflatmapper.util.Function<ROW,String> errorConverter,
ConsumerErrorHandler consumerErrorHandler) |
| Modifier and Type | Method and Description |
|---|---|
DiscriminatorEnumerable<ROW,T> |
enumerate(ROWS rows) |
protected ContextualSourceFieldMapper<ROW,T> |
getMapper(ROW row) |
map, mapforEach, iterator, streamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, iterator, streampublic DiscriminatorMapper(List<DiscriminatorMapper.PredicatedMapper<ROW,ROWS,T,EX>> mappers, org.simpleflatmapper.util.UnaryFactory<ROWS,org.simpleflatmapper.util.Enumerable<ROW>> rowEnumerableFactory, org.simpleflatmapper.util.Function<ROW,String> errorConverter, ConsumerErrorHandler consumerErrorHandler)
protected ContextualSourceFieldMapper<ROW,T> getMapper(ROW row) throws MappingException
getMapper in class AbstractEnumerableDelegateMapper<ROW,ROWS,T,EX extends Exception>MappingExceptionCopyright © 2020. All rights reserved.