public class ResultConverter<T> extends Object
Modifier and Type | Method and Description |
---|---|
static <T> ResultConverter<T> |
create(Class<T> type) |
List<String> |
getColumnLabels()
Get the labels of the columns produced by this converter.
|
List<Object> |
getColumns(T result)
Get the column values for a result instance.
|
Class<T> |
getResultType() |
public List<String> getColumnLabels()
public List<Object> getColumns(T result)
result
- The result instance.public static <T> ResultConverter<T> create(Class<T> type)