All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simpleflatmapper.map.impl.IdentityFieldMapperColumnDefinitionProvider Maven / Gradle / Ivy

Go to download

Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.

There is a newer version: 9.0.2
Show newest version
package org.simpleflatmapper.map.impl;


import org.simpleflatmapper.map.mapper.ColumnDefinitionProvider;
import org.simpleflatmapper.map.FieldKey;
import org.simpleflatmapper.map.property.FieldMapperColumnDefinition;
import org.simpleflatmapper.util.BiConsumer;
import org.simpleflatmapper.util.Predicate;

public class IdentityFieldMapperColumnDefinitionProvider> implements ColumnDefinitionProvider {
    @Override
    public FieldMapperColumnDefinition getColumnDefinition(K key) {
        return FieldMapperColumnDefinition.identity();
    }

    @Override
    public , CP>> BC forEach(Class propertyType, BC consumer) {
        return consumer;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy