SparkseePython3 6.1.0
sparksee.ValuesIterator Class Reference

Values iterator 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 ValuesIterator instance.
 __next__ (self)
 Return the next item from the container.
 is_closed (self)
 Gets if ValuesIterator instance has been closed or not.

Detailed Description

Values iterator class.

It allows for traversing all the elements into a Values instance.

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

Member Function Documentation

◆ __next__()

sparksee.ValuesIterator.__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.ValuesIterator.close ( self)

Closes the ValuesIterator instance.

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

◆ has_next()

sparksee.ValuesIterator.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.ValuesIterator.is_closed ( self)

Gets if ValuesIterator instance has been closed or not.

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

◆ next()

sparksee.ValuesIterator.next ( self)

Gets the next element to traverse.

Returns
The next element.