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

Function entryToStringWithPos

src/common/type_utils.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static std::string entryToStringWithPos(sel_t pos, ValueVector* vector) {
107 if (vector->isNull(pos)) {
108 return "";
109 }
110 return TypeUtils::entryToString(vector->dataType,
111 vector->getData() + vector->getNumBytesPerValue() * pos, vector);
112}
113
114template<>
115std::string TypeUtils::toString(const int128_t& val, void* /*valueVector*/) {

Callers 3

toStringMethod · 0.85
getMapEntryStrFunction · 0.85
structToStringFunction · 0.85

Calls 2

isNullMethod · 0.45
getDataMethod · 0.45

Tested by

no test coverage detected