public class RowUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
printPretty(List<Row> rows) |
static void |
printPretty(Row row) |
static void |
registerMapping(Class<?> clazz,
Map<String,Method> columnSetterMapping) |
static <T> T |
toEntity(Row row,
Class<T> entityClass) |
static <T> T |
toEntity(Row row,
Class<T> entityClass,
int index) |
static <T> List<T> |
toEntityList(List<Row> rows,
Class<T> entityClass) |
static <T> List<T> |
toEntityList(List<Row> rows,
Class<T> entityClass,
int index) |
static <T> T |
toObject(Row row,
Class<T> objectClass) |
static <T> T |
toObject(Row row,
Class<T> objectClass,
int index) |
static <T> List<T> |
toObjectList(List<Row> rows,
Class<T> objectClass) |
static <T> List<T> |
toObjectList(List<Row> rows,
Class<T> objectClass,
int index) |
public static <T> List<T> toObjectList(List<Row> rows, Class<T> objectClass, int index)
public static <T> List<T> toEntityList(List<Row> rows, Class<T> entityClass, int index)
public static void registerMapping(Class<?> clazz, Map<String,Method> columnSetterMapping)
public static void printPretty(Row row)
Copyright © 2024. All rights reserved.