/** * Build a new JdbcMapperBuilder targeting the type specified by the TypeReference. The TypeReference * allow you to provide a generic type with check of T<br> * <code>new TypeReference<List<String>>() {}</code> * * @param target the TypeReference to the type T to map to */ public JdbcMapperBuilder(final TypeReference<T> target) { this(target.getType()); }
/** * Build a new JdbcMapperBuilder targeting the type specified by the TypeReference. The TypeReference * allow you to provide a generic type with check of T<br> * <code>new TypeReference<List<String>>() {}</code> * * @param target the TypeReference to the type T to map to */ public JdbcMapperBuilder(final TypeReference<T> target) { this(target.getType()); }
/** * Will create a DynamicMapper on the type specified by the TypeReference. * @param target the TypeReference * @param <T> the jdbcMapper target type * @return the DynamicMapper */ public <T> DynamicJdbcMapper<T> newMapper(final TypeReference<T> target) { return newMapper(target.getType()); }
/** * Add a discriminator value with its associated type specified by the type reference. * @param value the value * @param type the type reference * @return the current builder */ public DiscriminatorJdbcSubBuilder when(String value, TypeReference<? extends T> type) { return when(value, type.getType()); }
/** * * @param type the type to map * @param <T> the type to map * @return a builder on the specified type */ public <T> SheetMapperBuilder<T> newBuilder(TypeReference<T> type) { return newBuilder(type.getType()); }
public <T> RowMapperImpl<T> newRowMapper(TypeReference<T> target) throws MapperBuildingException { return newRowMapper(target.getType()); }
/** * * @param type the type to map * @param <T> the type to map * @return a dynamic mapper on the specified type */ public <T> SheetMapper<T> newMapper(TypeReference<T> type) { return newMapper(type.getType()); }
/** * Will create a newInstance of JdbcMapperBuilder on the type T specified by the typeReference. * @param target the typeReference * @param <T> the jdbcMapper target type * @return the builder */ public <T> JdbcMapperBuilder<T> newBuilder(final TypeReference<T> target) { return newBuilder(target.getType()); }
/** * Add a discriminator value with its associated type specified by the type reference. * @param value the value * @param type the type reference * @return the current builder */ public DiscriminatorJdbcSubBuilder when(String value, TypeReference<? extends T> type) { return when(value, type.getType()); }
/** * Create a DSL on the specified type. * @param typeReference the type of object to write * @param <T> the type * @return a DSL on the specified type */ public static <T> CsvWriterDSL<T> from(TypeReference<T> typeReference) { return from(typeReference.getType()); }
/** * Will create a newInstance of JdbcMapperBuilder on the type T specified by the typeReference. * @param target the typeReference * @param <T> the jdbcMapper target type * @return the builder */ public <T> JdbcMapperBuilder<T> newBuilder(final TypeReference<T> target) { return newBuilder(target.getType()); }
/** * Will create a DynamicMapper on the type specified by the TypeReference. * @param target the TypeReference * @param <T> the jdbcMapper target type * @return the DynamicMapper */ public <T> DynamicJdbcMapper<T> newMapper(final TypeReference<T> target) { return newMapper(target.getType()); }
/** * Create a DSL on the specified type. * @param typeReference the type of object to write * @param <T> the type * @return a DSL on the specified type */ public static <T> CsvWriterDSL<T> from(TypeReference<T> typeReference) { return from(typeReference.getType()); }
public <T> PreparedStatementMapperBuilder<T> buildFrom(final TypeReference<T> target) { return buildFrom(target.getType()); }
public <T> DatastaxMapper<T> mapTo(TypeReference<T> type) { return mapTo(type.getType()); } public <T> DatastaxMapper<T> mapTo(Type type) {
public <T> DatastaxBinder<T> mapFrom(TypeReference<T> type) { return mapFrom(type.getType()); } public <T> DatastaxBinder<T> mapFrom(Type type) {
public <T> ResultSetExtractorImpl<T> newResultSetExtractor(TypeReference<T> target) throws MapperBuildingException { return newResultSetExtractor(target.getType()); }
public <T> PreparedStatementCallbackImpl<T> newPreparedStatementCallback(TypeReference<T> target) throws MapperBuildingException { return newPreparedStatementCallback(target.getType()); }
public <T> CsvMapperBuilder<T> newBuilder(final TypeReference<T> target) { return newBuilder(target.getType()); }
public final <T> MapToDSL<T> mapTo(TypeReference<T> target) { return mapTo(target.getType()); }