2024-01-12 16:50:37 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConsoleApp2.Options
|
|
|
|
|
{
|
|
|
|
|
public class TableInfo
|
|
|
|
|
{
|
|
|
|
|
public long SimulaRowCount { get; set; }//模拟的记录条数
|
|
|
|
|
}
|
2024-01-18 14:36:36 +08:00
|
|
|
|
public class TasksOptions
|
2024-01-12 16:50:37 +08:00
|
|
|
|
{
|
|
|
|
|
public Dictionary<string, TableInfo> TableInfoConfig { get; set; } = new();
|
2024-01-18 14:36:36 +08:00
|
|
|
|
public int TransformTaskCount { get; set; } = 1;
|
|
|
|
|
public OutPutOptions OutPutOptions { get; set; }=new();
|
|
|
|
|
}
|
|
|
|
|
public class OutPutOptions
|
|
|
|
|
{
|
|
|
|
|
public int FlushCount { get; set; } = 10000;
|
2024-01-22 15:44:37 +08:00
|
|
|
|
public int OutPutTaskCount { get; set; } = 1;
|
2024-01-12 16:50:37 +08:00
|
|
|
|
}
|
|
|
|
|
}
|