#pragma once #include namespace DB { class StorageHiveMetadata : public IRemoteFileMetadata { public: StorageHiveMetadata() = default; StorageHiveMetadata(const String & schema_, const String & cluster_, const String & remote_path_, size_t file_size_, UInt64 last_modification_timestamp_) : schema(schema_), cluster(cluster_){ remote_path = remote_path_; file_size = file_size_; last_modification_timestamp = last_modification_timestamp_; } ~StorageHiveMetadata() override; String getName() const override { return "StorageHiveMetadata"; } String getSchema() const { return schema; } String getCluster() const { return cluster; } String toString() const override; bool fromString(const String & buf) override; String getVersion() const override; private: String schema; String cluster; }; }