Create an iterator over the space using the specified template(s) and settings.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
ISpaceIterator<T> GetSpaceIterator<T>( IQuery<T> query, int batchSize, ReadModifiers modifiers )
Function GetSpaceIterator(Of T) ( _ query As IQuery(Of T), _ batchSize As Integer, _ modifiers As ReadModifiers _ ) As ISpaceIterator(Of T)
generic<typename T> ISpaceIterator<T>^ GetSpaceIterator( IQuery<T>^ query, int batchSize, ReadModifiers modifiers )
Generic Template Parameters
- T
- Type of object to read.
Parameters
- query (IQuery<(Of <(T>)>))
- The query used for matching.
- batchSize (Int32)
[Missing <param name="batchSize"/> documentation for "M:GigaSpaces.Core.IReadOnlySpaceProxy.GetSpaceIterator``1(GigaSpaces.Core.IQuery{``0},System.Int32,GigaSpaces.Core.ReadModifiers)"]
- modifiers (ReadModifiers)
[Missing <param name="modifiers"/> documentation for "M:GigaSpaces.Core.IReadOnlySpaceProxy.GetSpaceIterator``1(GigaSpaces.Core.IQuery{``0},System.Int32,GigaSpaces.Core.ReadModifiers)"]
Return Value
A configured space iterator.
Exceptions
Exception | Condition |
---|---|
InactiveSpaceException | The space is in backup mode and therefore is not active. |