public class DiscriminatorMapper<ROW,ROWS,T,EX extends Exception> extends AbstractEnumarableDelegateMapper<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.Enumarable<ROW>> rowEnumarableFactory,
org.simpleflatmapper.converter.UncheckedConverter<ROW,String> errorConverter,
ConsumerErrorHandler consumerErrorHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected Mapper<ROW,T> |
getMapper(ROW row) |
protected DiscriminatorEnumerable<ROW,T> |
newEnumarableOfT(ROWS rows) |
map, map, mapToforEach, iterator, streampublic DiscriminatorMapper(List<DiscriminatorMapper.PredicatedMapper<ROW,ROWS,T,EX>> mappers, org.simpleflatmapper.util.UnaryFactory<ROWS,org.simpleflatmapper.util.Enumarable<ROW>> rowEnumarableFactory, org.simpleflatmapper.converter.UncheckedConverter<ROW,String> errorConverter, ConsumerErrorHandler consumerErrorHandler)
protected Mapper<ROW,T> getMapper(ROW row) throws MappingException
getMapper in class AbstractEnumarableDelegateMapper<ROW,ROWS,T,EX extends Exception>MappingExceptionprotected DiscriminatorEnumerable<ROW,T> newEnumarableOfT(ROWS rows) throws EX extends Exception
newEnumarableOfT in class AbstractEnumarableMapper<ROWS,T,EX extends Exception>EX extends ExceptionCopyright © 2017. All rights reserved.