MCPcopy Create free account
hub / github.com/apache/arrow / Visit

Function Visit

cpp/src/gandiva/bitmap_accumulator.h:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 : eval_batch_(eval_batch), all_invalid_(false) {}
36
37 void Visit(const VectorReadValidityDex& dex) {
38 int idx = dex.ValidityIdx();
39 auto bitmap = eval_batch_.GetBuffer(idx);
40 // The bitmap could be null. Ignore it in this case.
41 if (bitmap != NULLPTR) {
42 src_maps_.push_back(bitmap);
43 src_map_offsets_.push_back(eval_batch_.GetBufferOffset(idx));
44 }
45 }
46
47 void Visit(const LocalBitMapValidityDex& dex) {
48 int idx = dex.local_bitmap_idx();

Callers

nothing calls this directly

Calls 4

push_backMethod · 0.80
GetBufferOffsetMethod · 0.80
GetBufferMethod · 0.45
GetLocalBitMapMethod · 0.45

Tested by

no test coverage detected