整理代码
This commit is contained in:
@@ -7,11 +7,8 @@ namespace ConsoleApp2.Options
|
||||
{
|
||||
|
||||
public string InputDir { get; set; } = "./MyDumper";
|
||||
|
||||
public int TaskCount { get; set; } = 16;
|
||||
|
||||
public int FlushCount { get; set; } = 20000;
|
||||
|
||||
public bool IsMock { get; set; } = false;
|
||||
public string NoFilterTables { get; set; }="";//不需要过滤的表列表
|
||||
public bool Isutf8mb4 { get; set; } = true;
|
||||
|
||||
public short OldestShardKey { get; set; } = 23010;
|
||||
|
@@ -13,6 +13,7 @@ public enum ColumnType
|
||||
|
||||
public class DataTransformOptions
|
||||
{
|
||||
|
||||
public Func<DataRecord, string>? DatabaseFilter { get; set; }
|
||||
|
||||
public Func<string, string>? TransformBinary { get; set; }//Binary转字符串方法
|
||||
|
@@ -19,6 +19,6 @@ namespace ConsoleApp2.Options
|
||||
public class OutPutOptions
|
||||
{
|
||||
public int FlushCount { get; set; } = 10000;
|
||||
public int OutPutTaskCount { get; set; } = 2;
|
||||
public int OutPutTaskCount { get; set; } = 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user