Package com.gigaspaces.client
Interface ReadByIdsResult<T>
- All Superinterfaces:
Iterable<T>
- All Known Implementing Classes:
ReadByIdsResultImpl,ReadTakeByIdsResult,TakeByIdsResultImpl
Holds iterable results of the
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.- Since:
- 7.1.1
- Author:
- idan
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
Returns an iterator over the readByIds operation results. -
getResultsArray
T[] getResultsArray()Returns the results array for thereadByIdsoperation.The array's size is the same as that of the given Ids array. Unmatched Ids will have a
nullvalue in the corresponding results array index.- Returns:
- Results array.
-