mirror of
https://github.com/dataease/dataease.git
synced 2026-06-17 04:51:43 +08:00
refactor(X-Pack): 数据同步任务的调度,统一使用Quartz
This commit is contained in:
@@ -21,4 +21,19 @@ public class Source {
|
||||
private List<TableField> fieldList;
|
||||
private String incrementField;
|
||||
private String esQuery;
|
||||
|
||||
public Source() {
|
||||
}
|
||||
|
||||
public Source(Source source) {
|
||||
this.type = source.type;
|
||||
this.query = source.query;
|
||||
this.tables = source.tables;
|
||||
this.datasource = source.datasource;
|
||||
this.datasourceId = source.datasourceId;
|
||||
this.tableExtract = source.tableExtract;
|
||||
this.fieldList = source.fieldList;
|
||||
this.incrementField = source.incrementField;
|
||||
this.esQuery = source.esQuery;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,4 +26,25 @@ public class Target {
|
||||
private String remarks;
|
||||
private Long incrementOffset;
|
||||
private String incrementOffsetUnit;
|
||||
|
||||
public Target() {
|
||||
}
|
||||
|
||||
public Target(Target target) {
|
||||
this.type = target.type;
|
||||
this.createTable = target.createTable;
|
||||
this.fieldList = target.fieldList;
|
||||
this.tableName = target.tableName;
|
||||
this.datasource = target.datasource;
|
||||
this.datasourceId = target.datasourceId;
|
||||
this.targetProperty = target.targetProperty;
|
||||
this.incrementSync = target.incrementSync;
|
||||
this.incrementField = target.incrementField;
|
||||
this.datasourceVersion = target.datasourceVersion;
|
||||
this.faultToleranceRate = target.faultToleranceRate;
|
||||
this.incrementFieldType = target.incrementFieldType;
|
||||
this.remarks = target.remarks;
|
||||
this.incrementOffset = target.incrementOffset;
|
||||
this.incrementOffsetUnit = target.incrementOffsetUnit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user