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

org.sfm.datastax.impl.getter.DatastaxToStringGetter Maven / Gradle / Ivy

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

import com.datastax.driver.core.GettableByIndexData;
import org.sfm.reflect.Getter;

public class DatastaxToStringGetter implements Getter {
    private final Getter getter;

    public DatastaxToStringGetter(Getter getter) {
        this.getter = getter;
    }

    @Override
    public String get(GettableByIndexData target) throws Exception {
        return String.valueOf(getter.get(target));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy