-
Notifications
You must be signed in to change notification settings - Fork 32
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
Fix documentation about NoSQL database behavior. #963
Conversation
Signed-off-by: Otavio Santana <[email protected]>
Signed-off-by: Otavio Santana <[email protected]>
…behavior on NoSQL Signed-off-by: Otavio Santana <[email protected]>
@@ -146,17 +146,33 @@ default Stream<T> stream() { | |||
* Returns the total number of elements across all pages of query results, if the | |||
* {@link #pageRequest()} specified that {@linkplain PageRequest#requestTotal the | |||
* total should be retrieved from the database}. | |||
* | |||
* <p><strong>Note for NoSQL databases:</strong> Not all NoSQL databases support counting the total |
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.
Can we perhaps use @apiNote
for this?
@njr-11 Thanks for the notes; I have a different way to see the reuse of exceptions. Could you check it and let me know your thoughts? |
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.
See review comments. There is no good solution for NoSQL, so I'll mostly agree to the behavior that Otavio wants, but I still see this as a more undesirable way for a provider to handle things, so I don't want to see significant portions of the JavaDoc for these methods being cluttered up with it and distracting from more core usage.
Co-authored-by: Nathan Rauh <[email protected]>
Co-authored-by: Nathan Rauh <[email protected]>
Co-authored-by: Nathan Rauh <[email protected]>
Co-authored-by: Nathan Rauh <[email protected]>
Signed-off-by: Otavio Santana <[email protected]>
Co-authored-by: Nathan Rauh <[email protected]>
It fixes: NoSQL databases need to be allowed to raise errors for function that the database type is not capable o
Changes
Fixes: