| Package | Description |
|---|---|
| org.sfm.csv |
CsvMapper classes to map object from a csv file. |
| org.sfm.csv.impl |
CsvMapper implementation. |
| org.sfm.jdbc |
JdbcMapper classes to map object from a csv file. |
| org.sfm.jdbc.impl |
JdbcMapper related classes. |
| org.sfm.map |
Provides base class that are shared across all mappers.
|
| org.sfm.map.impl |
Mapper partial implementation. |
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
CsvMapper.forEach(CsvReader reader,
H handle)
Will map each row of the content of reader to an object of type T and will pass that object to the handle via the
RowHandler.handler(T t) call back. |
<H extends RowHandler<? super T>> |
CsvMapper.forEach(CsvReader reader,
H handle,
int limit)
Will map each row of the content of reader, starting at rowStart and ending before rowEnd, to an object of type T and will pass that object to the handle via the
RowHandler.handler(T t) call back. |
<H extends RowHandler<? super T>> |
CsvMapper.forEach(Reader reader,
H handle)
Will map each row of the content of reader to an object of type T and will pass that object to the handle via the
RowHandler.handler(T t) call back. |
<H extends RowHandler<? super T>> |
CsvMapper.forEach(Reader reader,
H handle,
int skip)
Will map each row of the content of reader, starting at rowStart, to an object of type T and will pass that object to the handle via the
RowHandler.handler(T t) call back. |
<H extends RowHandler<? super T>> |
CsvMapper.forEach(Reader reader,
H handle,
int skip,
int limit)
Will map each row of the content of reader, starting at rowStart and ending before rowEnd, to an object of type T and will pass that object to the handle via the
RowHandler.handler(T t) call back. |
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
CsvMapperImpl.forEach(CsvReader reader,
H handle) |
<H extends RowHandler<? super T>> |
CsvMapperImpl.forEach(CsvReader reader,
H handle,
int limit) |
<H extends RowHandler<? super T>> |
DynamicCsvMapper.forEach(Reader reader,
H handle) |
<H extends RowHandler<? super T>> |
CsvMapperImpl.forEach(Reader reader,
H handler) |
<H extends RowHandler<? super T>> |
DynamicCsvMapper.forEach(Reader reader,
H handle,
int skip) |
<H extends RowHandler<? super T>> |
CsvMapperImpl.forEach(Reader reader,
H handler,
int skip) |
<H extends RowHandler<? super T>> |
DynamicCsvMapper.forEach(Reader reader,
H handle,
int skip,
int limit) |
<H extends RowHandler<? super T>> |
CsvMapperImpl.forEach(Reader reader,
H handler,
int skip,
int limit) |
| Modifier and Type | Class and Description |
|---|---|
class |
HandlerErrorException |
class |
SQLMappingException |
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
JdbcMapper.forEach(ResultSet rs,
H handle)
Loop over the resultSet, map each row to a new instance of T and call back the handler
|
Iterator<T> |
JdbcMapper.iterate(ResultSet rs)
Deprecated.
|
Iterator<T> |
JdbcMapper.iterator(ResultSet rs) |
Stream<T> |
JdbcMapper.stream(ResultSet rs) |
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
JoinJdbcMapper.forEach(ResultSet rs,
H handler) |
<H extends RowHandler<? super T>> |
JdbcMapperImpl.forEach(ResultSet rs,
H handler) |
<H extends RowHandler<? super T>> |
AbstractJdbcMapperImpl.forEach(ResultSet rs,
H handler) |
<H extends RowHandler<? super T>> |
DynamicJdbcMapper.forEach(ResultSet rs,
H handle) |
<H extends RowHandler<? super T>> |
DiscriminatorJdbcMapper.forEach(ResultSet rs,
H handler) |
void |
BreakDetector.handle(S source) |
Iterator<T> |
JoinJdbcMapper.iterate(ResultSet rs)
Deprecated.
|
Iterator<T> |
JdbcMapperImpl.iterate(ResultSet rs)
Deprecated.
|
Iterator<T> |
AbstractJdbcMapperImpl.iterate(ResultSet rs)
Deprecated.
|
Iterator<T> |
DynamicJdbcMapper.iterate(ResultSet rs)
Deprecated.
|
Iterator<T> |
DiscriminatorJdbcMapper.iterate(ResultSet rs)
Deprecated.
|
Iterator<T> |
JoinJdbcMapper.iterator(ResultSet rs) |
Iterator<T> |
JdbcMapperImpl.iterator(ResultSet rs) |
Iterator<T> |
AbstractJdbcMapperImpl.iterator(ResultSet rs) |
Iterator<T> |
DynamicJdbcMapper.iterator(ResultSet rs) |
Iterator<T> |
DiscriminatorJdbcMapper.iterator(ResultSet rs) |
T |
JoinJdbcMapper.map(ResultSet source) |
T |
DynamicJdbcMapper.map(ResultSet source) |
T |
DiscriminatorJdbcMapper.map(ResultSet source) |
T |
JoinJdbcMapper.map(ResultSet source,
MappingContext<ResultSet> mappingContext) |
T |
DynamicJdbcMapper.map(ResultSet source,
MappingContext<ResultSet> mappingContext) |
T |
DiscriminatorJdbcMapper.map(ResultSet source,
MappingContext<ResultSet> mappingContext) |
void |
DynamicJdbcMapper.mapTo(ResultSet source,
T target,
MappingContext<ResultSet> mappingContext) |
void |
DiscriminatorJdbcMapper.mapTo(ResultSet source,
T target,
MappingContext<ResultSet> mappingContext) |
MappingContext<ResultSet> |
DynamicJdbcMapper.newMappingContext(ResultSet source) |
MappingContext<ResultSet> |
DiscriminatorJdbcMapper.newMappingContext(ResultSet source) |
Stream<T> |
JoinJdbcMapper.stream(ResultSet rs) |
Stream<T> |
JdbcMapperImpl.stream(ResultSet rs) |
Stream<T> |
AbstractJdbcMapperImpl.stream(ResultSet rs) |
Stream<T> |
DynamicJdbcMapper.stream(ResultSet rs) |
Stream<T> |
DiscriminatorJdbcMapper.stream(ResultSet rs) |
| Modifier and Type | Class and Description |
|---|---|
class |
MapperBuildingException |
| Modifier and Type | Method and Description |
|---|---|
void |
FieldMapperErrorHandler.errorMappingField(K key,
Object source,
Object target,
Exception error) |
T |
Mapper.map(S source)
map source object to a new instance of T
|
T |
Mapper.map(S source,
MappingContext<S> context) |
MappingContext<S> |
Mapper.newMappingContext(S source) |
| Modifier and Type | Method and Description |
|---|---|
void |
RethrowFieldMapperErrorHandler.errorMappingField(K name,
Object source,
Object target,
Exception error) |
void |
LogFieldMapperErrorHandler.errorMappingField(K key,
Object source,
Object target,
Exception error) |
T |
AbstractMapperImpl.map(S source) |
T |
AbstractMapperImpl.map(S source,
MappingContext<S> mappingContext) |
void |
AbstractMapperImpl.mapTo(S source,
T target,
MappingContext<S> mappingContext) |
Copyright © 2015. All rights reserved.