org.sfm.datastax.impl.getter.DatastaxSetGetter Maven / Gradle / Ivy
package org.sfm.datastax.impl.getter;
import com.datastax.driver.core.GettableByIndexData;
import org.sfm.reflect.Getter;
import java.util.Set;
public class DatastaxSetGetter implements Getter> {
private final int index;
private final Class type;
public DatastaxSetGetter(int index, Class type) {
this.index = index;
this.type = type;
}
@Override
public Set get(GettableByIndexData target) throws Exception {
return target.getSet(index, type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy