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

org.simpleflatmapper.jooq.JooqKeySourceGetter Maven / Gradle / Ivy

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

import org.jooq.Record;
import org.simpleflatmapper.map.context.KeySourceGetter;


public class JooqKeySourceGetter implements KeySourceGetter {
    
    public static final JooqKeySourceGetter INSTANCE = new JooqKeySourceGetter();
    
    private JooqKeySourceGetter() {
    }
    
    @Override
    public Object getValue(JooqFieldKey key, Record source) {
        return source.getValue(key.getIndex());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy