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

ObjectsIterator 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 ObjectsIterator instance. More...
 
def __next__ (self)
 Used in next() More...
 
def is_closed (self)
 Gets if ObjectsIterator instance has been closed or not. More...
 

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

def sparksee.ObjectsIterator.__next__ (   self)

Used in next()

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

Closes the ObjectsIterator instance.

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

def sparksee.ObjectsIterator.has_next (   self)

Gets if there are more elements to traverse.

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

Gets the next element to traverse.

Returns
The next element.