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

Method TotalByteSize

be/src/runtime/tuple.cc:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51Tuple* const Tuple::POISON = reinterpret_cast<Tuple*>(42L);
52
53int64_t Tuple::TotalByteSize(const TupleDescriptor& desc, bool assume_smallify) const {
54 int64_t result = desc.byte_size();
55 if (!desc.HasVarlenSlots()) return result;
56 result += VarlenByteSize(desc, assume_smallify);
57 return result;
58}
59
60int64_t Tuple::VarlenByteSize(const TupleDescriptor& desc, bool assume_smallify) const {
61 int64_t result = 0;

Callers 3

AppendRowMethod · 0.45
TestDupRemovalMethod · 0.45
VarlenByteSizeMethod · 0.45

Calls 2

byte_sizeMethod · 0.45
HasVarlenSlotsMethod · 0.45

Tested by 1

TestDupRemovalMethod · 0.36