TIBCO ActiveSpaces®
|
A DataGrid iterator object traverses the rows of a table. More...
Functions | |
TIBDG_API void | tibdgIterator_Close (tibEx e, tibdgIterator iterator) |
Close an iterator. More... | |
TIBDG_API tibbool_t | tibdgIterator_HasNext (tibEx e, tibdgIterator iterator) |
Inform the caller if the iterator has more rows or not. More... | |
TIBDG_API tibdgRow | tibdgIterator_Next (tibEx e, tibdgIterator iterator) |
Advance the iterator to the next row and returns it. More... | |
A DataGrid iterator object traverses the rows of a table.
TIBDG_API void tibdgIterator_Close | ( | tibEx | e, |
tibdgIterator | iterator | ||
) |
Close an iterator.
Releases all resources associated with this iterator object.
e | The exception object captures information about failures. |
iterator | The iterator to be closed. |
TIBDG_API tibbool_t tibdgIterator_HasNext | ( | tibEx | e, |
tibdgIterator | iterator | ||
) |
Inform the caller if the iterator has more rows or not.
e | The exception object captures information about failures. |
iterator | The iterator to be queried. |
TIBDG_API tibdgRow tibdgIterator_Next | ( | tibEx | e, |
tibdgIterator | iterator | ||
) |
Advance the iterator to the next row and returns it.
This call advances the iterator beyond the current row. If the next row exists, this call returns it. If the current row is the last or if an exception has been thrown, this call returns NULL.
This call may block in order to fetch the next batch of rows.
e | The exception object captures information about failures. |
iterator | The iterator to be advanced. |