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

org.simpleflatmapper.datastax.impl.getter.DatastaxTupleValueGetter Maven / Gradle / Ivy

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

import com.datastax.driver.core.GettableByIndexData;
import com.datastax.driver.core.TupleValue;
import org.simpleflatmapper.reflect.Getter;

public class DatastaxTupleValueGetter implements Getter {

    private final int index;

    public DatastaxTupleValueGetter(int index) {
        this.index = index;
    }

    @Override
    public TupleValue get(GettableByIndexData target) throws Exception {
        return target.getTupleValue(index);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy