23 using namespace impala;
29 for (
int i = 0; i < batch->
num_rows(); ++i) {
35 for (
int i = 0; i < batch->
num_rows(); ++i) {
37 Tuple* agg_tuple = NULL;
stl-like iterator interface.
A tuple with 0 materialised slots is represented as NULL.
TupleRow * GetRow(int row_idx)
bool AtEnd() const
Returns true if this iterator is at the end, i.e. GetRow() cannot be called.
Tuple * ConstructIntermediateTuple()
Tuple * singleton_intermediate_tuple_
void ProcessRowBatchWithGrouping(RowBatch *batch)
void UpdateTuple(Tuple *tuple, TupleRow *row)
void ProcessRowBatchNoGrouping(RowBatch *batch)
Do the aggregation for all tuple rows in the batch.
boost::scoped_ptr< OldHashTable > hash_tbl_