Closed jerolba closed 3 months ago
CarpetRecordWriter::buildBasicTypeWriter code and SimpleCollectionItemConsumerFactory is similar, while FieldsWriter has a lot of duplicated code.
Extract from FieldsWriter shared write logic, and use SimpleCollectionItemConsumerFactory to convert values for the writer. Then move all logic to buildBasicTypeWriter, removing the factory code.
FieldsWriter
SimpleCollectionItemConsumerFactory
CarpetRecordWriter::buildBasicTypeWriter code and SimpleCollectionItemConsumerFactory is similar, while FieldsWriter has a lot of duplicated code.
Extract from
FieldsWriter
shared write logic, and useSimpleCollectionItemConsumerFactory
to convert values for the writer. Then move all logic to buildBasicTypeWriter, removing the factory code.