Skip to content

Seal TableScanNode API#19952

Merged
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/seal-tablescannode-api-9cddbe
Nov 30, 2023
Merged

Seal TableScanNode API#19952
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/seal-tablescannode-api-9cddbe

Conversation

@findepi
Copy link
Member

@findepi findepi commented Nov 29, 2023

Remove public constructor that is not supposed to be called and replace it with a JSON-serialization-only factory method. Factory method access can be controlled with @DoNotCall.

@cla-bot cla-bot bot added the cla-signed label Nov 29, 2023
@findepi findepi added the no-release-notes This pull request does not require release notes entry label Nov 29, 2023
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need these annotations anymore on this private constructor

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overlooked, thanks

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need to annotate parameters, if the parameter names match the JSON? I know that records are handled automatically.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am eager to believe we do not. I think it would applied to many other classes, so i will keep this as-is in this pr

Remove public constructor that is not supposed to be called and replace
it with a JSON-serialization-only factory method. Factory method access
can be controlled with `@DoNotCall`.
@findepi findepi force-pushed the findepi/seal-tablescannode-api-9cddbe branch from f6e255e to c35359e Compare November 30, 2023 13:03
@findepi findepi merged commit 585cd4f into trinodb:master Nov 30, 2023
@findepi findepi deleted the findepi/seal-tablescannode-api-9cddbe branch November 30, 2023 16:09
@github-actions github-actions bot added this to the 435 milestone Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants