Package com.gigaspaces.client
Interface TakeByIdsResult<T>
- All Superinterfaces:
Iterable<T>
- All Known Implementing Classes:
ReadByIdsResultImpl,ReadTakeByIdsResult,TakeByIdsResultImpl
Holds iterable results of the
takeByIds 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
takeByIds 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 takeByIds operation results. -
getResultsArray
T[] getResultsArray()Returns the results array for thetakeByIdsoperation.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.
-