MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / appendNulls

Method appendNulls

src/storage/table/column_chunk_data.cpp:791–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791void NullChunkData::appendNulls(const ValueVector* vector, const SelectionView& selView,
792 offset_t startPosInChunk) {
793 if (selView.isUnfiltered()) {
794 copyFromBuffer(vector->getNullMask().getData(), 0, startPosInChunk, selView.getSelSize());
795 } else {
796 for (auto i = 0u; i < selView.getSelSize(); i++) {
797 const auto pos = selView[i];
798 setNull(startPosInChunk + i, vector->isNull(pos));
799 }
800 }
801}
802
803void InternalIDChunkData::append(ValueVector* vector, const SelectionView& selView) {
804 switch (vector->dataType.getPhysicalType()) {

Callers 2

copyVectorToBufferMethod · 0.80
appendMethod · 0.80

Calls 6

setNullFunction · 0.85
isUnfilteredMethod · 0.80
getNullMaskMethod · 0.80
getSelSizeMethod · 0.80
getDataMethod · 0.45
isNullMethod · 0.45

Tested by

no test coverage detected