MCPcopy Create free account
hub / github.com/bytedance/bolt / MAP>

Method MAP>

bolt/vector/tests/VectorTestUtils.cpp:85–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84template <>
85void checkVectorFlagsClearedTyped<TypeKind::MAP>(
86 const BaseVector& vector,
87 const SelectivityVector& /*asciiClearedRows*/,
88 const SelectivityVector& /*asciiRemainRows*/) {
89 auto* mapVector = vector.as<MapVector>();
90 checkBaseVectorFlagsCleared(vector);
91 EXPECT_FALSE(mapVector->hasSortedKeys());
92
93 // MapVector is not expected to clear asciiness of children vector at existing
94 // rows.
95 checkVectorFlagsCleared(*mapVector->mapKeys(), {}, {});
96 checkVectorFlagsCleared(*mapVector->mapValues(), {}, {});
97}
98
99template <>
100void checkVectorFlagsClearedTyped<TypeKind::ARRAY>(

Callers

nothing calls this directly

Calls 8

checkVectorFlagsClearedFunction · 0.85
checkVectorFlagsSetFunction · 0.85
hasSortedKeysMethod · 0.80
has_valueMethod · 0.80
mapKeysMethod · 0.45
mapValuesMethod · 0.45
getNullCountMethod · 0.45

Tested by

no test coverage detected