|
Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
A simple iterator used to scan over all the rows stored in the list. More...
#include <row-batch-list.h>
Public Member Functions | |
| TupleRowIterator () | |
| Dummy constructor. More... | |
| bool | AtEnd () |
| Returns true if this iterator is at the end, i.e. GetRow() cannot be called. More... | |
| TupleRow * | GetRow () |
| void | Next () |
| Increments the iterator. No-op if the iterator is at the end. More... | |
Private Member Functions | |
| TupleRowIterator (RowBatchList *list) | |
Private Attributes | |
| RowBatchList * | list_ |
| std::vector< RowBatch * >::iterator | batch_it_ |
| int64_t | row_idx_ |
Friends | |
| class | RowBatchList |
A simple iterator used to scan over all the rows stored in the list.
Definition at line 39 of file row-batch-list.h.
|
inline |
Dummy constructor.
Definition at line 42 of file row-batch-list.h.
|
inlineprivate |
Definition at line 68 of file row-batch-list.h.
|
inline |
Returns true if this iterator is at the end, i.e. GetRow() cannot be called.
Definition at line 45 of file row-batch-list.h.
References batch_it_, list_, and impala::RowBatchList::row_batches_.
Referenced by impala::RowBatchList::DebugString(), impala::RowBatchListTest::FullScan(), impala::CrossJoinNode::GetNext(), GetRow(), and impala::CrossJoinNode::ProcessLeftChildBatch().
|
inline |
Returns the current row. Callers must check the iterator is not AtEnd() before calling GetRow().
Definition at line 51 of file row-batch-list.h.
References AtEnd(), and row_idx_.
Referenced by impala::RowBatchList::DebugString(), impala::RowBatchListTest::FullScan(), and impala::CrossJoinNode::ProcessLeftChildBatch().
|
inline |
Increments the iterator. No-op if the iterator is at the end.
Definition at line 57 of file row-batch-list.h.
References batch_it_, list_, impala::RowBatchList::row_batches_, and row_idx_.
Referenced by impala::RowBatchList::DebugString(), impala::RowBatchListTest::FullScan(), and impala::CrossJoinNode::ProcessLeftChildBatch().
|
friend |
Definition at line 66 of file row-batch-list.h.
|
private |
Definition at line 75 of file row-batch-list.h.
|
private |
Definition at line 74 of file row-batch-list.h.
|
private |
Definition at line 76 of file row-batch-list.h.