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