voytech / tabulate

Kotlin library for exporting collections of object into tabular formats.
Apache License 2.0
2 stars 0 forks source link

Add support for literal RowPredicate (should be possible to derive range sets from RowIndex qualifier conditions) #143

Closed voytech closed 2 years ago

voytech commented 3 years ago

Problem with lambda based predicate is that it is not possible to resolve previous row builder definition when row uses predicate as row id. It is important to be able to find previous row builders in order to correctly validate against row spans at table definition time. Additionally using literal index row predicates with sets of valid index ranges and range set materialization support - will allow to create internal association of index to row definition that will speed up row resolving (for new row insertions no additional lambda evaluation will be required as long as index to rowDef map is available)