MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / str

Method str

src/Formats/NumpyDataTypes.h:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 size_t getSize() const override { return size; }
81 bool isSigned() const { return is_signed; }
82 String str() const override
83 {
84 WriteBufferFromOwnString buf;
85 writeChar(static_cast<char>(endianness), buf);
86 writeChar(is_signed ? 'i' : 'u', buf);
87 writeIntText(size, buf);
88 return buf.str();
89 }
90
91private:
92 size_t size;

Callers

nothing calls this directly

Calls 3

writeCharFunction · 0.85
writeIntTextFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected