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

Method TableNode

src/Analyzer/TableNode.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59TableNode::TableNode(StoragePtr storage_, StorageID storage_id_, TableLockHolder storage_lock_, StorageSnapshotPtr storage_snapshot_)
60 : IQueryTreeNode(children_size)
61 , storage(std::move(storage_))
62 , storage_id(std::move(storage_id_))
63 , storage_lock(std::move(storage_lock_))
64 , storage_metadata(storage_snapshot_->metadata)
65 , storage_snapshot(std::move(storage_snapshot_))
66 , materialized_cte(extractCTE(storage))
67{}
68
69TableNode::TableNode(StoragePtr storage_, TableLockHolder storage_lock_, StorageSnapshotPtr storage_snapshot_)
70 : IQueryTreeNode(children_size)

Callers

nothing calls this directly

Calls 6

extractCTEFunction · 0.85
getInitialQueryIdMethod · 0.80
getStorageIDMethod · 0.45
lockForShareMethod · 0.45
getStorageSnapshotMethod · 0.45

Tested by

no test coverage detected