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

Method parse

src/Storages/MergeTree/ReplicatedMergeTreeMutationEntry.cpp:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70ReplicatedMergeTreeMutationEntry ReplicatedMergeTreeMutationEntry::parse(const String & str, String znode_name)
71{
72 ReplicatedMergeTreeMutationEntry res;
73 res.znode_name = std::move(znode_name);
74
75 ReadBufferFromString in(str);
76 res.readText(in);
77 assertEOF(in);
78
79 return res;
80}
81
82
83std::shared_ptr<const IBackupEntry> ReplicatedMergeTreeMutationEntry::backup() const

Callers

nothing calls this directly

Calls 2

assertEOFFunction · 0.85
readTextMethod · 0.45

Tested by

no test coverage detected