/** * Retrieves a type converter for the given class type. * <p/> * This is a short-hand method for calling {@link #typeConverter(TypeTags.TypeTag)} with an argument * obtained by {@link #safeTypeTag(Class)}. */ public static <T> TypeConverter<T> safeTypeConverter(Class<T> main) { return TypeConverter$.MODULE$.forType(safeTypeTag(main)); }
/** * Creates a row writer factory which can map objects supported by a given column mapper to columns * in a table. */ public static <T> RowWriterFactory<T> safeMapToRow(Class<T> targetClass, ColumnMapper<T> columnMapper) { TypeTags.TypeTag<T> tt = safeTypeTag(targetClass); return defaultRowWriterFactory(tt, columnMapper); }
/** * Retrieves a type converter for the given class type. * <p/> * This is a short-hand method for calling {@link #typeConverter(TypeTags.TypeTag)} with an argument * obtained by {@link #safeTypeTag(Class)}. */ public static <T> TypeConverter<T> safeTypeConverter(Class<T> main) { return TypeConverter$.MODULE$.forType(safeTypeTag(main)); }
/** * Retrieves a type converter for the given class type. * <p/> * This is a short-hand method for calling {@link #typeConverter(TypeTags.TypeTag)} with an argument * obtained by {@link #safeTypeTag(Class)}. */ public static <T> TypeConverter<T> safeTypeConverter(Class<T> main) { return TypeConverter$.MODULE$.forType(safeTypeTag(main)); }
/** * Creates a row writer factory which can map objects supported by a given column mapper to columns * in a table. */ public static <T> RowWriterFactory<T> safeMapToRow(Class<T> targetClass, ColumnMapper<T> columnMapper) { TypeTags.TypeTag<T> tt = safeTypeTag(targetClass); return defaultRowWriterFactory(tt, columnMapper); }
/** * Retrieves a type converter for the given class type. * <p/> * This is a short-hand method for calling {@link #typeConverter(TypeTags.TypeTag)} with an argument * obtained by {@link #safeTypeTag(Class)}. */ public static <T> TypeConverter<T> safeTypeConverter(Class<T> main) { return TypeConverter$.MODULE$.forType(safeTypeTag(main)); }
/** * Creates a row writer factory which can map objects supported by a given column mapper to columns * in a table. */ public static <T> RowWriterFactory<T> safeMapToRow(Class<T> targetClass, ColumnMapper<T> columnMapper) { TypeTags.TypeTag<T> tt = safeTypeTag(targetClass); return defaultRowWriterFactory(tt, columnMapper); }
/** * Retrieves a type converter for the given class type. * <p/> * This is a short-hand method for calling {@link #typeConverter(TypeTags.TypeTag)} with an argument * obtained by {@link #safeTypeTag(Class)}. */ public static <T> TypeConverter<T> safeTypeConverter(Class<T> main) { return TypeConverter$.MODULE$.forType(safeTypeTag(main)); }
/** * Creates a row writer factory which can map objects supported by a given column mapper to columns * in a table. */ public static <T> RowWriterFactory<T> safeMapToRow(Class<T> targetClass, ColumnMapper<T> columnMapper) { TypeTags.TypeTag<T> tt = safeTypeTag(targetClass); return defaultRowWriterFactory(tt, columnMapper); }
/** * Creates a row writer factory which can map objects supported by a given column mapper to columns * in a table. */ public static <T> RowWriterFactory<T> safeMapToRow(Class<T> targetClass, ColumnMapper<T> columnMapper) { TypeTags.TypeTag<T> tt = safeTypeTag(targetClass); return defaultRowWriterFactory(tt, columnMapper); }