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

org.sfm.jooq.getter.RecordGetter Maven / Gradle / Ivy

package org.sfm.jooq.getter;

import org.jooq.Record;
import org.sfm.reflect.Getter;

public class RecordGetter implements Getter {

	private final int index;
	
	public RecordGetter(int index) {
		this.index = index;
	}

	@SuppressWarnings("unchecked")
	@Override
	public P get(R target) throws Exception {
		return (P) target.getValue(index);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy