mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Merge pull request #5798 from s-mx/complete_external_loader_methods
complete ExternalLoader method's implementations
This commit is contained in:
commit
1119056b71
@ -1038,6 +1038,11 @@ size_t ExternalLoader::getNumberOfCurrentlyLoadedObjects() const
|
|||||||
return loading_dispatcher->getNumberOfCurrentlyLoadedObjects();
|
return loading_dispatcher->getNumberOfCurrentlyLoadedObjects();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ExternalLoader::load(const String & name) const
|
||||||
|
{
|
||||||
|
loading_dispatcher->load(name);
|
||||||
|
}
|
||||||
|
|
||||||
void ExternalLoader::load(const String & name, LoadablePtr & loaded_object, Duration timeout) const
|
void ExternalLoader::load(const String & name, LoadablePtr & loaded_object, Duration timeout) const
|
||||||
{
|
{
|
||||||
loading_dispatcher->load(name, loaded_object, timeout);
|
loading_dispatcher->load(name, loaded_object, timeout);
|
||||||
@ -1058,6 +1063,11 @@ void ExternalLoader::loadStrict(const String & name, LoadResult & load_result) c
|
|||||||
loading_dispatcher->loadStrict(name, load_result);
|
loading_dispatcher->loadStrict(name, load_result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ExternalLoader::load(const FilterByNameFunction & filter_by_name) const
|
||||||
|
{
|
||||||
|
loading_dispatcher->load(filter_by_name);
|
||||||
|
}
|
||||||
|
|
||||||
void ExternalLoader::load(const FilterByNameFunction & filter_by_name, Loadables & loaded_objects, Duration timeout) const
|
void ExternalLoader::load(const FilterByNameFunction & filter_by_name, Loadables & loaded_objects, Duration timeout) const
|
||||||
{
|
{
|
||||||
if (filter_by_name)
|
if (filter_by_name)
|
||||||
@ -1074,6 +1084,11 @@ void ExternalLoader::load(const FilterByNameFunction & filter_by_name, LoadResul
|
|||||||
loading_dispatcher->load(load_results, timeout);
|
loading_dispatcher->load(load_results, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ExternalLoader::load() const
|
||||||
|
{
|
||||||
|
loading_dispatcher->load();
|
||||||
|
}
|
||||||
|
|
||||||
void ExternalLoader::load(Loadables & loaded_objects, Duration timeout) const
|
void ExternalLoader::load(Loadables & loaded_objects, Duration timeout) const
|
||||||
{
|
{
|
||||||
return loading_dispatcher->load(loaded_objects, timeout);
|
return loading_dispatcher->load(loaded_objects, timeout);
|
||||||
|
Loading…
Reference in New Issue
Block a user