MCPcopy Create free account
hub / github.com/apache/impala / GetRow

Method GetRow

be/src/runtime/row-batch.h:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 TupleRow* ALWAYS_INLINE GetRow(int row_idx) {
164 DCHECK(tuple_ptrs_ != nullptr);
165 DCHECK_GE(row_idx, 0);
166 DCHECK_LT(row_idx, capacity_);
167 return reinterpret_cast<TupleRow*>(tuple_ptrs_ + row_idx * num_tuples_per_row_);
168 }
169
170 const TupleRow* ALWAYS_INLINE GetRow(int row_idx) const {
171 DCHECK(tuple_ptrs_ != nullptr);

Callers 15

AddBatchInternalMethod · 0.45
GetNextMethod · 0.45
TestRowBatchInternalMethod · 0.45
TestRowBatchLimitsMethod · 0.45
CreateRowBatchMethod · 0.45
AddTuplesToRowBatchMethod · 0.45
TEST_FFunction · 0.45
CreateRowBatchMethod · 0.45
GetNextBatchMethod · 0.45
ReadStreamMethod · 0.45
ReadStreamMergingMethod · 0.45
CopyRowsMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestRowBatchInternalMethod · 0.36
TestRowBatchLimitsMethod · 0.36
CreateRowBatchMethod · 0.36
AddTuplesToRowBatchMethod · 0.36
TEST_FFunction · 0.36
CreateRowBatchMethod · 0.36
GetNextBatchMethod · 0.36
ReadStreamMethod · 0.36
ReadStreamMergingMethod · 0.36
CreateBatchMethod · 0.36
ReadValuesMethod · 0.36
TestValuesMethod · 0.36