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

Method VARCHAR>

bolt/exec/ContainerRowSerde.cpp:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203template <>
204void serializeOne<TypeKind::VARCHAR>(
205 const BaseVector& vector,
206 vector_size_t index,
207 ByteOutputStream& stream,
208 const ContainerRowSerdeOptions& /*options*/) {
209 auto string = vector.asUnchecked<SimpleVector<StringView>>()->valueAt(index);
210 stream.appendOne<int32_t>(string.size());
211 stream.appendStringView(string);
212}
213
214template <>
215void serializeOne<TypeKind::VARBINARY>(

Callers

nothing calls this directly

Calls 7

deserializeStringFunction · 0.70
compareStringAscFunction · 0.70
readStringViewFunction · 0.70
valueAtMethod · 0.45
sizeMethod · 0.45
appendStringViewMethod · 0.45
compareMethod · 0.45

Tested by

no test coverage detected