MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / BOOL>

Method BOOL>

src/common/arrow/arrow_row_batch.cpp:301–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299
300template<>
301void ArrowRowBatch::templateCopyNonNullValue<LogicalTypeID::BOOL>(ArrowVector* vector,
302 const Value& value, std::int64_t pos, bool) {
303 if (value.val.booleanVal) {
304 setBitToOne(vector->data.data(), pos);
305 } else {
306 setBitToZero(vector->data.data(), pos);
307 }
308}
309
310template<>
311void ArrowRowBatch::templateCopyNonNullValue<LogicalTypeID::STRING>(ArrowVector* vector,

Callers

nothing calls this directly

Calls 3

setBitToOneFunction · 0.85
setBitToZeroFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected