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

Method GetRowSize

be/src/runtime/descriptors.cc:511–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511int RowDescriptor::GetRowSize() const {
512 int size = 0;
513 for (int i = 0; i < tuple_desc_map_.size(); ++i) {
514 size += tuple_desc_map_[i]->byte_size();
515 }
516 return size;
517}
518
519int RowDescriptor::GetTupleIdx(TupleId id) const {
520 DCHECK_LT(id, tuple_idx_map_.size()) << "RowDescriptor: " << DebugString();

Callers 10

ScratchTupleBatchMethod · 0.80
GetNextInternalMethod · 0.80
GetNextInternalMethod · 0.80
TestRowBatchLimitsMethod · 0.80
CreateRowBatchMethod · 0.80
TEST_FFunction · 0.80

Calls 2

sizeMethod · 0.45
byte_sizeMethod · 0.45

Tested by 3

TestRowBatchLimitsMethod · 0.64
CreateRowBatchMethod · 0.64
TEST_FFunction · 0.64