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

Method serializeTextXML

src/DataTypes/Serializations/SerializationEnum.cpp:138–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137template <typename Type>
138void SerializationEnum<Type>::serializeTextXML(const IColumn & column, size_t row_num, WriteBuffer & ostr, const FormatSettings &) const
139{
140 writeXMLStringForTextElement(ref_enum_values.getNameForValue(assert_cast<const ColumnType &>(column).getData()[row_num]), ostr);
141}
142
143template <typename Type>
144void SerializationEnum<Type>::deserializeTextJSON(IColumn & column, ReadBuffer & istr, const FormatSettings & settings) const

Callers

nothing calls this directly

Calls 3

getNameForValueMethod · 0.80
getDataMethod · 0.45

Tested by

no test coverage detected