EnumarableMapper<ROW,ROWS,T>, FieldMapper<ROW,ROWS>, Mapper<ROW,ROWS>public class DiscriminatorMapper<ROW,ROWS,T,EX extends Exception> extends AbstractEnumarableDelegateMapper<ROW,ROWS,T,EX>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
DiscriminatorMapper.PredicatedMapper<ROW,ROWS,T,EX extends Throwable> |
errorHandler| Constructor | 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 | 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 © 2018. All rights reserved.