spring-projects / spring-batch-extensions

Spring Batch Extensions
242 stars 258 forks source link

DefaultRowset method getColumnValue is Missing #79

Closed zikozee closed 1 year ago

zikozee commented 3 years ago

The method is missing or removed from spring-batch-excel. Kindly assist to explain why this was removed and the allternative

mdeinum commented 3 years ago

The RowSet interface is about rows and not columns. One should use the getCurrentRow to retrieve the full row and use an index to retrieve the value for the desired column. This has been done to be able to reuse the same support classes for the classic and streaming version (which doesn't allow direct column access like the classic one does).