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