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

Method StorageURL

src/Storages/StorageURL.cpp:1527–1558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1525}
1526
1527StorageURL::StorageURL(
1528 const String & uri_,
1529 const StorageID & table_id_,
1530 const String & format_name_,
1531 const std::optional<FormatSettings> & format_settings_,
1532 const ColumnsDescription & columns_,
1533 const ConstraintsDescription & constraints_,
1534 const String & comment,
1535 const ContextPtr & context_,
1536 const String & compression_method_,
1537 const HTTPHeaderEntries & headers_,
1538 const String & http_method_,
1539 ASTPtr partition_by_,
1540 bool distributed_processing_)
1541 : IStorageURLBase(
1542 uri_,
1543 context_,
1544 table_id_,
1545 format_name_,
1546 format_settings_,
1547 columns_,
1548 constraints_,
1549 comment,
1550 compression_method_,
1551 headers_,
1552 http_method_,
1553 partition_by_,
1554 distributed_processing_)
1555{
1556 context_->getRemoteHostFilter().checkURL(Poco::URI(uri));
1557 context_->getHTTPHeaderFilter().checkAndNormalizeHeaders(headers);
1558}
1559
1560
1561StorageURLWithFailover::StorageURLWithFailover(

Callers

nothing calls this directly

Calls 3

checkURLMethod · 0.80
URIClass · 0.50

Tested by

no test coverage detected