internal static void GenerateTSV(GenerateProcessedFilesTSVOptions options) { using (ProcessedFilesInfoGenerator generator = new ProcessedFilesInfoGenerator(options)) { generator.GenerateProcessedFilesTSV(); } }
private ProcessedFilesInfoGenerator(GenerateProcessedFilesTSVOptions options) : base(new HarvesterOptions() { QueryWhere = options.QueryWhere, ParseDBEnvironment = options.ParseDBEnvironment, Environment = options.Environment, SuppressLogs = true }) { var parseDBEnvironment = EnvironmentUtils.GetEnvOrFallback(options.ParseDBEnvironment, options.Environment); (_downloadBucketName, _uploadBucketName) = Harvester.GetS3BucketNames(parseDBEnvironment); OutputPath = options.OutputPath; }