#pragma once #include #if USE_AWS_S3 # include class ReadBuffer; namespace DB { struct S3DataLakeMetadataReadHelper { static std::shared_ptr createReadBuffer(const String & key, ContextPtr context, const StorageS3::Configuration & base_configuration); static std::vector listFilesMatchSuffix(const StorageS3::Configuration & base_configuration, const String & directory, const String & suffix); static std::vector listFiles(const StorageS3::Configuration & configuration); }; } #endif