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

Method ByteSize

be/src/runtime/collection-value.h:51–53  ·  view source on GitHub ↗

Returns the size of this collection in bytes, i.e. the number of bytes written to ptr.

Source from the content-addressed store, hash-verified

49 /// Returns the size of this collection in bytes, i.e. the number of bytes written to
50 /// ptr.
51 inline int64_t ByteSize(const TupleDescriptor& item_tuple_desc) const {
52 return static_cast<int64_t>(num_tuples) * item_tuple_desc.byte_size();
53 }
54
55 /// For C++/IR interop, we need to be able to look up types by name.
56 static const char* LLVM_CLASS_NAME;

Callers 6

GetDataSizeFunction · 0.45
GetFreeMemoryMethod · 0.45
CommitTuplesMethod · 0.45
TEST_FFunction · 0.45
WriteCollectionMethod · 0.45

Calls 1

byte_sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.36