@FunctionalInterface public interface FieldMapper
GSheetColumn.mapper()| Modifier and Type | Method and Description |
|---|---|
Object |
map(String fieldName,
List<Object> values,
int valueIndex)
Maps table row data to the value of given field.
|
Object map(String fieldName, List<Object> values, int valueIndex)
fieldName - the name of field the value of which is necessary to get.values - list of cell values representing row data.valueIndex - index of column related to the field and thus index of possible field value in the list
of values. This index is present only if GSheetColumn.name() is specified
for the field. Otherwise this index equals -1.Copyright © 2022. All rights reserved.