SparkseePython  6.0.2
Public Member Functions | List of all members
sparksee.ValuesIterator Class Reference

Values iterator class. More...

Public Member Functions

def next (self)
 Gets the next element to traverse. More...
 
def has_next (self)
 Gets if there are more elements to traverse. More...
 
def close (self)
 Closes the ValuesIterator instance. More...
 
def __next__ (self)
 Used in next() More...
 
def is_closed (self)
 Gets if ValuesIterator instance has been closed or not. More...
 

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

def sparksee.ValuesIterator.__next__ (   self)

Used in next()

Returns
The next element
def sparksee.ValuesIterator.close (   self)

Closes the ValuesIterator instance.

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

def sparksee.ValuesIterator.has_next (   self)

Gets if there are more elements to traverse.

Returns
TRUE if there are more elements to traverse, FALSE otherwise.
def 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.
def sparksee.ValuesIterator.next (   self)

Gets the next element to traverse.

Returns
The next element.