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

Method InitTuple

be/src/exec/hdfs-scanner.h:614–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612
613 /// Initialize a tuple. Inlined into the convenience version below for codegen.
614 void IR_ALWAYS_INLINE InitTuple(
615 const TupleDescriptor* desc, Tuple* template_tuple, Tuple* tuple) {
616 if (has_template_tuple(template_tuple)) {
617 InitTupleFromTemplate(template_tuple, tuple, tuple_byte_size(*desc));
618 } else {
619 Tuple::ClearNullBits(tuple, desc->null_bytes_offset(), desc->num_null_bytes());
620 }
621 }
622
623 /// Convenience version of above that passes in the scan's TupleDescriptor.
624 /// Replaced with a codegen'd version in IR.

Callers

nothing calls this directly

Calls 3

null_bytes_offsetMethod · 0.80
num_null_bytesMethod · 0.80
tuple_descMethod · 0.45

Tested by

no test coverage detected