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

Method getObjectStorage

src/TableFunctions/TableFunctionObjectStorage.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54template <typename Definition, typename Configuration, bool is_data_lake>
55ObjectStoragePtr TableFunctionObjectStorage<Definition, Configuration, is_data_lake>::getObjectStorage(const ContextPtr & context, bool create_readonly) const
56{
57 if (!object_storage)
58 object_storage = configuration->createObjectStorage(context, create_readonly, std::nullopt);
59 return object_storage;
60}
61
62template <typename Definition, typename Configuration, bool is_data_lake>
63StorageObjectStorageConfigurationPtr TableFunctionObjectStorage<Definition, Configuration, is_data_lake>::getConfiguration(ContextPtr context) const

Callers 2

getConfigurationMethod · 0.45
executeImplMethod · 0.45

Calls 1

createObjectStorageMethod · 0.45

Tested by

no test coverage detected