public class DatastaxTupleGetter<T extends org.simpleflatmapper.tuple.Tuple2<?,?>> extends Object implements org.simpleflatmapper.reflect.Getter<com.datastax.driver.core.GettableByIndexData,T>
Constructor and Description |
---|
DatastaxTupleGetter(org.simpleflatmapper.map.ContextualSourceMapper<com.datastax.driver.core.GettableByIndexData,T> mapper,
int index) |
Modifier and Type | Method and Description |
---|---|
T |
get(com.datastax.driver.core.GettableByIndexData target) |
static <P extends org.simpleflatmapper.tuple.Tuple2<?,?>> |
newInstance(DatastaxMapperFactory factory,
Type target,
com.datastax.driver.core.TupleType tt,
int index) |
static <P extends org.simpleflatmapper.tuple.Tuple2<?,?>> |
newTupleMapper(Type target,
com.datastax.driver.core.TupleType tt,
DatastaxMapperFactory factory) |
public DatastaxTupleGetter(org.simpleflatmapper.map.ContextualSourceMapper<com.datastax.driver.core.GettableByIndexData,T> mapper, int index)
public static <P extends org.simpleflatmapper.tuple.Tuple2<?,?>> org.simpleflatmapper.reflect.Getter<com.datastax.driver.core.GettableByIndexData,P> newInstance(DatastaxMapperFactory factory, Type target, com.datastax.driver.core.TupleType tt, int index)
public static <P extends org.simpleflatmapper.tuple.Tuple2<?,?>> org.simpleflatmapper.map.ContextualSourceMapper<com.datastax.driver.core.GettableByIndexData,P> newTupleMapper(Type target, com.datastax.driver.core.TupleType tt, DatastaxMapperFactory factory)
Copyright © 2019. All rights reserved.