public interface ReadByIdsResult<T> extends Iterable<T>
readByIds operation.
When iterating through the results, null values are skipped.
If you want to access null values, use the getResultsArray() method.
Results are ordered based on the list of Ids provided to the readByIds method.| Modifier and Type | Method and Description |
|---|---|
T[] |
getResultsArray()
Returns the results array for the
readByIds operation. |
Iterator<T> |
iterator()
Returns an iterator over the readByIds operation results.
|
forEach, spliteratorT[] getResultsArray()
readByIds operation.
The array's size is the same as that of the given Ids array.
Unmatched Ids will have a null value in the corresponding results array index.
Copyright © GigaSpaces.