MCPcopy Create free account
hub / github.com/bytedance/bolt / registerVectorSerde

Function registerVectorSerde

bolt/vector/VectorStream.cpp:144–148  ·  view source on GitHub ↗

None of the calls below are thread-safe. We only expect one call of it in the entire system upon startup.

Source from the content-addressed store, hash-verified

142/// None of the calls below are thread-safe. We only expect one call of it in
143/// the entire system upon startup.
144void registerVectorSerde(std::unique_ptr<VectorSerde> serdeToRegister) {
145 auto& serde = getVectorSerdeImpl();
146 BOLT_CHECK_NULL(serde, "Vector serde is already registered.");
147 serde = std::move(serdeToRegister);
148}
149
150void deregisterVectorSerde() {
151 getVectorSerdeImpl().reset();

Callers 15

TESTFunction · 0.85
registerVectorSerdeMethod · 0.85
registerVectorSerdeMethod · 0.85
registerVectorSerdeMethod · 0.85
registerVectorSerdeMethod · 0.85
SetUpTestCaseMethod · 0.85
mainFunction · 0.85
compactRowVectorSerdeMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
SetUpTestCaseMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.68
SetUpTestCaseMethod · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
SetUpTestCaseMethod · 0.68
mainFunction · 0.68
SetUpMethod · 0.68
registerVectorSerdeMethod · 0.68
SetUpTestCaseMethod · 0.68
SetUpTestCaseMethod · 0.68
SetUpTestCaseMethod · 0.68