Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Currently, Schema class don't have getColumnSize method. There are a lot of places in Matcher implementations getMatchingData calling getColumnsArray().length to purely get the column size. While getColumnsArray a method not efficient as it looks like:
public Column[] getColumnsArray()
return columns.toArray(new Column[columns.size()]);
It is suggested to add getColumnSize method in schema and the caller can use this method to return the column length.
This problem gets serious because getMatchingData is called repeatedly with each record in Mapper.
Attachments
Attachments
Issue Links
- links to