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

Method str

src/Formats/NumpyDataTypes.h:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 size_t getSize() const override { return size; }
138 void setSize(size_t size_) override { size = size_; }
139 String str() const override
140 {
141 WriteBufferFromOwnString buf;
142 writeChar(static_cast<char>(endianness), buf);
143 writeChar('S', buf);
144 writeIntText(size, buf);
145 return buf.str();
146 }
147private:
148 size_t size;
149};

Callers

nothing calls this directly

Calls 3

writeCharFunction · 0.85
writeIntTextFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected