-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Refactor to highlight materialization query execution model #5079
Refactor to highlight materialization query execution model #5079
Conversation
be5ac32
to
9af416b
Compare
Kudos, SonarCloud Quality Gate passed! |
What is this PR wants to highlight. It is not immediately clear to me from its description. @adamretter could you clarify that? |
@line-o It highlights where the Marterialization Query Execution Model is used. |
* | ||
* @throws XPathException if an error occurs during evaluation. | ||
*/ | ||
Sequence eval(@Nullable Sequence contextSequence, @Nullable Item contextItem) throws XPathException; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why you did not choose to have two method definitions, where the second one could have just one parameter (internally using null). this would have avoided a lot of small code changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dizzzz That is what we had previously. I wanted to simplify this so that there was a single clean interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I miss.... where is this interface used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ion for de-composition of interfaces
…pressions use the Materialization query execution model
9af416b
to
7b80363
Compare
Thanks you @dizzzz :-) |
@dizzz I wonder why this was merged even though 5 checks are failing. |
I merged as the issues were not unique to this branch. |
Backported from FusionDB - Just some small cleanup and refactoring to make future changes easier. Should not break any backwards compatibility or change anything in execution.