MCPcopy Create free account
hub / github.com/ByConity/ByConity / deserializeTextQuoted

Method deserializeTextQuoted

src/DataTypes/Serializations/SerializationTime.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void SerializationTime::deserializeTextQuoted(IColumn & column, ReadBuffer & istr, const FormatSettings & settings) const
95{
96 Decimal64 x = 0;
97 assertChar('\'', istr);
98 readText(x, scale, istr, settings);
99 checkNumberOverflow(settings);
100 assertChar('\'', istr);
101 assert_cast<ColumnType &>(column).getData().push_back(x); /// It's important to do this at the end - for exception safety.
102}
103
104void SerializationTime::serializeTextJSON(const IColumn & column, size_t row_num, WriteBuffer & ostr, const FormatSettings & settings) const
105{

Callers

nothing calls this directly

Calls 4

assertCharFunction · 0.85
readTextFunction · 0.70
push_backMethod · 0.45
getDataMethod · 0.45

Tested by

no test coverage detected