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

Method SetNull

be/src/runtime/tuple.h:274–277  ·  view source on GitHub ↗

Turn null indicator bit on. For non-nullable slots, the mask will be 0 and this is a no-op (but we don't have to branch to check is slots are nullable).

Source from the content-addressed store, hash-verified

272 /// Turn null indicator bit on. For non-nullable slots, the mask will be 0 and
273 /// this is a no-op (but we don't have to branch to check is slots are nullable).
274 void SetNull(const NullIndicatorOffset& offset) {
275 char* null_indicator_byte = reinterpret_cast<char*>(this) + offset.byte_offset;
276 *null_indicator_byte |= offset.bit_mask;
277 }
278
279 /// Turn null indicator bit off.
280 void SetNotNull(const NullIndicatorOffset& offset) {

Callers 15

GetMethod · 0.80
SetDstSlotMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
BuildAgentPayloadJsonFunction · 0.80
OpenMethod · 0.80
CreateNullTupleMethod · 0.80
WriteSlotMethod · 0.80
CreateNullTupleRowMethod · 0.80
MaterializeNextTupleMethod · 0.80

Calls

no outgoing calls

Tested by 7

TESTFunction · 0.64
TESTFunction · 0.64
CreateNullTupleRowMethod · 0.64
CreateRowBatchMethod · 0.64
CreateTuplesMethod · 0.64
TEST_FFunction · 0.64
CreateTupleRowMethod · 0.64