Iterator to work with immutable KuduScanBatch instances.
More...
#include <scan_batch.h>
Iterator to work with immutable KuduScanBatch instances.
◆ operator!=()
bool kudu::client::KuduScanBatch::const_iterator::operator!= |
( |
const const_iterator & | other | ) |
const |
|
inline |
An operator to check whether two iterators are 'not equal'.
- Parameters
-
[in] | other | The iterator to compare with. |
- Returns
true
iff the other iterator points to a different row in the same batch, or to a row belonging to a different batch altogether.
◆ operator*()
- Returns
- The row in the batch the iterator is pointing at.
◆ operator++() [1/2]
const_iterator & kudu::client::KuduScanBatch::const_iterator::operator++ |
( |
| ) |
|
|
inline |
Prefix increment operator: advances the iterator to the next position.
- Returns
- The reference to the iterator, pointing to the next position.
◆ operator++() [2/2]
const_iterator kudu::client::KuduScanBatch::const_iterator::operator++ |
( |
int | | ) |
|
|
inline |
Postfix increment operator: advances the iterator to the next position.
- Returns
- A copy of the iterator pointing to the pre-increment position.
◆ operator->()
- Note
- Since iterator does not keep current KuduScanBatch::RowPtr, we cannot return pointer to it. Instead we return KuduScanBatch::RowPtr, which implements pointer operator ->
- Returns
- The row in the batch the iterator is pointing at.
◆ operator==()
bool kudu::client::KuduScanBatch::const_iterator::operator== |
( |
const const_iterator & | other | ) |
const |
|
inline |
An operator to check whether two iterators are 'equal'.
- Parameters
-
[in] | other | The iterator to compare with. |
- Returns
true
iff the other iterator points to the same row of the same batch.
The documentation for this class was generated from the following file: