MCPcopy Create free account
hub / github.com/apache/cloudberry / slot_attisnull

Function slot_attisnull

src/include/executor/tuptable.h:368–377  ·  view source on GitHub ↗

* slot_attisnull * * Detect whether an attribute of the slot is null, without actually fetching * it. */

Source from the content-addressed store, hash-verified

366 * it.
367 */
368static inline bool
369slot_attisnull(TupleTableSlot *slot, int attnum)
370{
371 AssertArg(attnum > 0);
372
373 if (attnum > slot->tts_nvalid)
374 slot_getsomeattrs(slot, attnum);
375
376 return slot->tts_isnull[attnum - 1];
377}
378
379/*
380 * slot_getattr - fetch one attribute of the slot's contents.

Callers 6

ri_NullCheckFunction · 0.85
AlterDomainNotNullFunction · 0.85
ATRewriteTableFunction · 0.85
ExecConstraintsFunction · 0.85
slotAllNullsFunction · 0.85
slotNoNullsFunction · 0.85

Calls 1

slot_getsomeattrsFunction · 0.85

Tested by

no test coverage detected