r2dbc / r2dbc-spi

Service Provider Interface for R2DBC Implementations
Apache License 2.0
421 stars 56 forks source link

Why pass the RowMetadata argument as an additional parameter? #284

Closed KirillKurdyukov closed 10 months ago

KirillKurdyukov commented 10 months ago

Hello! I am writing an R2DBC implementation for YDB.

Interface Result has a map method where two parameters are expected BiFunction(Row, RowMetadata), but why pass RowMetadata here if there is a getMetadata() method for the Row interface.

KirillKurdyukov commented 10 months ago

https://stackoverflow.com/questions/77472326/why-pass-the-rowmetadata-argument-as-an-additional-parameter