JdbcMapper classes to map object from a csv file.See: Description
| Interface | Description |
|---|---|
| Crud<T,K> | |
| DynamicJdbcMapper<T> | |
| JdbcContextualSourceFieldMapper<T> | |
| JdbcMapper<T> |
JdbcMapper will map from a
ResultSet to an object of the specified type T |
| JdbcSourceFieldMapper<T> | |
| MultiIndexFieldMapper<T> | |
| QueryBinder<T> | |
| QueryPreparer<T> | |
| SelectQuery<T,P> |
Created by aroger on 08/11/2016.
|
| SizeSupplier | |
| SQLFunction<P,R> | |
| TransactionTemplate |
| Class | Description |
|---|---|
| ConnectedCrud<T,K> | |
| ConnectedSelectQuery<T,P> | |
| CrudDSL<T,K> | |
| DiscriminatorJdbcBuilder<T> |
The builder is used to build a DiscriminatorMapper that will instantiate
different types depending on the value of a specified field.
|
| JdbcColumnKey | |
| JdbcMapperBuilder<T> | |
| JdbcMapperFactory |
JdbcMapperFactory allows you to customise the mappers and create an newInstance of it using a fluent syntax.
|
| JdbcMapperFactory.DynamicJdbcSetRowMapper<T> | |
| JdbcMapperFactory.DynamicJdbSourceFieldMapper<T> | |
| JdbcMappingContextFactoryBuilder | |
| JdbcTypeHelper | |
| NameBasedResultSetGetterFactory | |
| PreparedStatementMapperBuilder<T> | |
| ResultSetEnumerable | |
| ResultSetGetterFactory | |
| ResultSetGetterFactory.StringResultSetGetterFactory | |
| SqlTypeColumnProperty |
JdbcMapper classes to map object from a csv file. It is instantiated using the JdbcMapperFactory
JdbcMapper<MyObject> jdbcMapper = JdbcMapperFactory.newInstance().newMapper(MyObject.class);
try (PreparedStatement ps = conn.prepareStatement("select id, email, my_property from MyTable")) {
try (ResultSet rs = ps.executeQuery()){
jdbcMapper.forEach(rs, (o) -> writer.append(o.toString()).append("\n"));
}
}
Copyright © 2020. All rights reserved.