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

Function writeDictionaryVector

bolt/vector/VectorSaver.cpp:401–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401void writeDictionaryVector(const BaseVector& vector, std::ostream& out) {
402 // Nulls buffer.
403 writeOptionalBuffer(vector.nulls(), out);
404
405 // Indices buffer.
406 writeBuffer(vector.wrapInfo(), out);
407
408 // Base vector.
409 saveVector(*vector.valueVector(), out);
410}
411
412VectorPtr readDictionaryVector(
413 const TypePtr& /*type*/,

Callers 1

saveVectorFunction · 0.85

Calls 5

writeOptionalBufferFunction · 0.85
writeBufferFunction · 0.85
saveVectorFunction · 0.85
nullsMethod · 0.45
wrapInfoMethod · 0.45

Tested by

no test coverage detected