@API(status=STABLE) @FunctionalInterface public interface TableEntryByTypeTransformer
DataTableType in
TypeRegistry. Similar to TableEntryTransformer but additionally it receives Class<T>
of expected object and TableCellByTypeTransformer for transforming individual cells from String
to arbitrary type.TableEntryTransformer| Modifier and Type | Method and Description |
|---|---|
Object |
transform(Map<String,String> entryValue,
Type toValueType,
TableCellByTypeTransformer cellTransformer)
This method should transform row represented by key-value map to object of type
type |
Object transform(Map<String,String> entryValue, Type toValueType, TableCellByTypeTransformer cellTransformer) throws Throwable
typeentryValue - table entry, key - column name, value - celltoValueType - type of an expected object to returncellTransformer - cell transformertypeThrowable - unable to transformCopyright © 2020. All rights reserved.