|
SparkseePython3 6.1.0
|
Public Member Functions | |
| next (self) | |
| Gets the next KeyValue pair. | |
| next (self, kv) | |
| Gets the next KeyValue pair. | |
| has_next (self) | |
| Checks if the KeyValues has more KeyValue pairs. | |
| close (self) | |
| Closes the KeyValues instance. | |
| __next__ (self) | |
| Return the next item from the container. | |
| is_closed (self) | |
| Gets if KeyValues instance has been closed or not. | |
Value set class.
This is a set of Value instances, that is there is no duplicated elements.
Use a ValuesIterator to traverse all the elements into the set.
When the Values instance is closed, it closes all existing and non-closed ValuesIterator instances too.
| sparksee.KeyValues.__next__ | ( | self | ) |
Return the next item from the container.
If there are no further items, raise the StopIteration exception.
| sparksee.KeyValues.close | ( | self | ) |
Closes the KeyValues instance.
It must be called to ensure the integrity of all data.
| sparksee.KeyValues.has_next | ( | self | ) |
| sparksee.KeyValues.is_closed | ( | self | ) |