Interface IQueryCursor<T>
Query result cursor. Can be processed either in iterative mode, or by taking all entries using GetAll() method.
Note that you get enumerator or call GetAll()
method only once during
cursor lifetime. Any further attempts to get enumerator or all entries will result
in exception.
Namespace: Apache.Ignite.Core.Cache.Query
Assembly: Apache.Ignite.Core.dll
Syntax
public interface IQueryCursor<T> : IEnumerable<T>, IDisposable
Type Parameters
Name | Description |
---|---|
T |
Methods
GetAll()
Gets all query results. Use this method when you know in advance that query result is relatively small and will not cause memory utilization issues.
Declaration
IList<T> GetAll()
Returns
Type | Description |
---|---|
IList<T> | List containing all query results. |