VMware GemFire Native .NET Reference  9.1
Apache::Geode::Client::SelectResultsIterator< TResult > Class Template Reference

Iterator for a query result. More...

Inherits UMWrap< apache::geode::client::SelectResultsIterator >, and IEnumerator< TResult >.

Public Member Functions

virtual bool MoveNext ()
 Advances the enumerator to the next element of the collection. More...
 
TResult Next ()
 Get the current element and move to the next one. More...
 
virtual void Reset ()
 Sets the enumerator to its initial position, which is before the first element in the collection. More...
 

Properties

virtual TResult Current [get]
 Gets the element in the collection at the current position of the enumerator. More...
 
bool HasNext [get]
 Check if there is a next element. More...
 

Detailed Description

template<class TResult>
class Apache::Geode::Client::SelectResultsIterator< TResult >

Iterator for a query result.

Member Function Documentation

template<class TResult >
virtual bool Apache::Geode::Client::SelectResultsIterator< TResult >::MoveNext ( )
virtual

Advances the enumerator to the next element of the collection.

Returns
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
template<class TResult >
TResult Apache::Geode::Client::SelectResultsIterator< TResult >::Next ( )

Get the current element and move to the next one.

template<class TResult >
virtual void Apache::Geode::Client::SelectResultsIterator< TResult >::Reset ( )
virtual

Sets the enumerator to its initial position, which is before the first element in the collection.

Property Documentation

template<class TResult >
virtual TResult Apache::Geode::Client::SelectResultsIterator< TResult >::Current
get

Gets the element in the collection at the current position of the enumerator.

Returns
The element in the collection at the current position of the enumerator.
template<class TResult >
bool Apache::Geode::Client::SelectResultsIterator< TResult >::HasNext
get

Check if there is a next element.


Pivotal GemFire .NET Cache API Documentation