import { interfaces } from 'inversify'; import { CacheLayerInfo } from '../../models/index'; import { CacheLayerOptions } from '../../options/index'; import { DataSource } from '../../models/index'; export interface ICacheLayerLoader { load(templateName: string, cache: CacheLayerInfo): Promise; } export declare class CacheLayerLoader implements ICacheLayerLoader { private dataSourceFactory; private options; private cacheStorage; private logger; constructor(options: CacheLayerOptions, dataSourceFactory: interfaces.SimpleFactory); /** * Load the data to the cache storage according to cache settings * @param templateName template source name * @param cache the cache layer info settings from API schema */ load(templateName: string, cache: CacheLayerInfo): Promise; private getParquetFiles; private removeParquetFiles; }