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

Method DeepCopy

be/src/runtime/tuple.cc:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86Tuple* Tuple::DeepCopy(const TupleDescriptor& desc, MemPool* pool) const {
87 Tuple* result = reinterpret_cast<Tuple*>(pool->Allocate(desc.byte_size()));
88 DeepCopy(result, desc, pool);
89 return result;
90}
91
92// TODO: the logic is very similar to the other DeepCopy implementation aside from how
93// memory is allocated - can we templatise it somehow to avoid redundancy without runtime

Callers 14

CreateTemplateTupleMethod · 0.45
AddRowMethod · 0.45
ProcessChildBatchesMethod · 0.45
GetNextPartitionedMethod · 0.45
InsertTupleRowMethod · 0.45
SerializeInternalMethod · 0.45
DeepCopyToMethod · 0.45

Calls 4

DeepCopyVarlenDataMethod · 0.80
AllocateMethod · 0.45
byte_sizeMethod · 0.45
HasVarlenSlotsMethod · 0.45

Tested by

no test coverage detected