Details
-
Improvement
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
None
-
None
Description
There are a few ways that we typically do this:
- Inspect the static args of the class implementing RowMapper to determine the output type, then consult the coder registry. This method is more limited and not lambda-friendly.
- For the a "functional interface" version, like RowMapper that allows setting the output type descriptor.
- Also provide an abstract class-based version, for example accepting a SimpleFunction that will automatically have a rich output type descriptor.
Attachments
Issue Links
- relates to
-
BEAM-1675 deprecate withCoder() in JdbcIO
-
- Resolved
-
- links to