Read an array of matching objects from the space.
Matching is done as in read with no timeout.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
T[] ReadMultiple<T>(
IQuery<T> query,
int maxItems
)
Function ReadMultiple(Of T) ( _
query As IQuery(Of T), _
maxItems As Integer _
) As T()
generic<typename T>
array<T>^ ReadMultiple(
IQuery<T>^ query,
int maxItems
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
Parameters
- query (IQuery<(Of <(T>)>))
- The query used for matching.
- maxItems (Int32)
- Maximum number of objects to return.
Return Value
An array of objects read from the space (empty array if no match was found).
Exceptions
Assembly:
GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.2.0.0 (10.2.1.14000)