SparkseePython3 6.1.0
sparksee.ObjectsIterator Class Reference

ObjectsIterator class. More...

Public Member Functions

 next (self)
 Gets the next element to traverse.
 has_next (self)
 Gets if there are more elements to traverse.
 close (self)
 Closes the ObjectsIterator instance.
 __next__ (self)
 Return the next item from the container.
 is_closed (self)
 Gets if ObjectsIterator instance has been closed or not.

Detailed Description

ObjectsIterator class.

Iterator to traverse all the object identifiers from an Objects instance.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

◆ __next__()

sparksee.ObjectsIterator.__next__ ( self)

Return the next item from the container.

If there are no further items, raise the StopIteration exception.

Returns
The next element

◆ close()

sparksee.ObjectsIterator.close ( self)

Closes the ObjectsIterator instance.

It must be called to ensure the integrity of all data.

◆ has_next()

sparksee.ObjectsIterator.has_next ( self)

Gets if there are more elements to traverse.

Returns
TRUE if there are more elements to traverse, FALSE otherwise.

◆ is_closed()

sparksee.ObjectsIterator.is_closed ( self)

Gets if ObjectsIterator instance has been closed or not.

See also
close()
Returns
TRUE if the ObjectsIterator instance has been closed, FALSE otherwise.

◆ next()

sparksee.ObjectsIterator.next ( self)

Gets the next element to traverse.

Returns
The next element.