Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move SQLResultAdapter is close to RowDecoder #115

Closed
zero88 opened this issue Apr 13, 2022 · 0 comments · Fixed by #128 or #131
Closed

Move SQLResultAdapter is close to RowDecoder #115

zero88 opened this issue Apr 13, 2022 · 0 comments · Fixed by #128 or #131
Labels
breaking-changes C: perf CL: Medium Complexity level: medium P: High T: Feature Issue Type: Feature

Comments

@zero88
Copy link
Owner

zero88 commented Apr 13, 2022

Motivation

The current SQLResultAdapter is called after Vertx SQL client executes the SQL query then stores the result into Vertx ResultSet (RowSet<Row>). It will affect performance when looping on the result set once more time, to make the output to JSON record.

To improve the performance and reduce the converter time, need to make SQLResultAdapter is as Vertx collectors, that will be invoked in RowDecoder

The SQLResultAdapter can be used as collector or mapper

@zero88 zero88 added CL: Medium Complexity level: medium P: High T: Feature Issue Type: Feature C: perf labels Apr 13, 2022
@zero88 zero88 changed the title Move SQLResultAdapter to closed to RowDecoder Move SQLResultAdapter to enclose to RowDecoder Apr 18, 2022
@zero88 zero88 changed the title Move SQLResultAdapter to enclose to RowDecoder Move SQLResultAdapter is close to RowDecoder May 26, 2022
zero88 added a commit that referenced this issue Aug 5, 2022
[#115] Add FieldWrapper to be able to fallback get value by column number
zero88 added a commit that referenced this issue Aug 5, 2022
[#115] Add FieldWrapper to be able to fallback get value by column number
@zero88 zero88 added this to the Version 2.0.0-rc1 milestone Aug 6, 2022
@zero88 zero88 reopened this Aug 6, 2022
zero88 added a commit that referenced this issue Aug 6, 2022
zero88 added a commit that referenced this issue Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-changes C: perf CL: Medium Complexity level: medium P: High T: Feature Issue Type: Feature
Projects
None yet
1 participant