[ 
https://issues.apache.org/jira/browse/IGNITE-22582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tiago Marques Godinho updated IGNITE-22582:
-------------------------------------------
    Description: 
The [current javadoc|
https://github.com/apache/ignite-3/blob/38d13fcd5f0b45879f210bcc15b1e048b8916fa4/modules/api/src/main/java/org/apache/ignite/table/KeyValueView.java#L129-L137]
 for the `getAll` methods in the KeyValueView does not specify what happens if 
the requested keys are not found.

The user might expect the following behaviours:
 * Method fails because cannot find all the keys
 * The returned map contains all the keys but non-existing keys are mapped to a 
null value.
 * The returned map does not contain non-existing keys.

What to do:
 * Clarify the actual scenario in the javadoc.

  was:
The current javadoc for the `getAll` methods in the KeyValueView does not 
specify what happens if the requested keys are not found.

The user might expect the following behaviours:
 * Method fails because cannot find all the keys
 * The returned map contains all the keys but non-existing keys are mapped to a 
null value.
 * The returned map does not contain non-existing keys.

What to do:
* Clarify the actual scenario in the javadoc.


> Improve javadoc for KeyValueView#getAllAsync regarding not existing keys
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-22582
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22582
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-beta1
>            Reporter: Tiago Marques Godinho
>            Assignee: Tiago Marques Godinho
>            Priority: Major
>              Labels: ignite-3
>
> The [current javadoc|
> https://github.com/apache/ignite-3/blob/38d13fcd5f0b45879f210bcc15b1e048b8916fa4/modules/api/src/main/java/org/apache/ignite/table/KeyValueView.java#L129-L137]
>  for the `getAll` methods in the KeyValueView does not specify what happens 
> if the requested keys are not found.
> The user might expect the following behaviours:
>  * Method fails because cannot find all the keys
>  * The returned map contains all the keys but non-existing keys are mapped to 
> a null value.
>  * The returned map does not contain non-existing keys.
> What to do:
>  * Clarify the actual scenario in the javadoc.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to