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

org.simpleflatmapper.datastax.impl.ConverterMapper Maven / Gradle / Ivy

There is a newer version: 8.2.3
Show newest version
package org.simpleflatmapper.datastax.impl;

import org.simpleflatmapper.converter.Context;
import org.simpleflatmapper.map.ContextualSourceMapper;
import org.simpleflatmapper.converter.ContextualConverter;

public class ConverterMapper implements ContextualConverter {

    private final ContextualSourceMapper mapper;

    public ConverterMapper(ContextualSourceMapper mapper) {
        this.mapper = mapper;
    }

    @Override
    public O convert(I in, Context context) throws Exception {
        return mapper.map(in);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy