update
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package cn.datax.service.data.quality.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author ch
|
||||
* @date 2023/12/25 17:18
|
||||
*
|
||||
* 正则校验
|
||||
*/
|
||||
@Data
|
||||
public class Regular implements Serializable {
|
||||
|
||||
/**
|
||||
* 正则表达
|
||||
*/
|
||||
private String regular;
|
||||
}
|
||||
@@ -32,4 +32,11 @@ public class RuleConfig implements Serializable {
|
||||
* 准确性
|
||||
*/
|
||||
private Accuracy accuracy;
|
||||
|
||||
/**
|
||||
* 正则表达
|
||||
*/
|
||||
|
||||
private Regular regular;
|
||||
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@ public enum RuleItem {
|
||||
Integrity("integrity_key", "验证表中必须出现的字段非空"),
|
||||
Relevance("relevance_key", "验证关联性"),
|
||||
Timeliness("timeliness_key", "验证及时性"),
|
||||
Regular("regular_key","正则表达式"),
|
||||
|
||||
Consistent("consistent_key", "验证用户指定的字段枚举值是否合乎要求");
|
||||
|
||||
private final String code;
|
||||
|
||||
Reference in New Issue
Block a user