public class RuleTemplate extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RuleTemplate() |
RuleTemplate(RuleTemplate source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getCitationCount()
Get Number of References
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getCompareType()
Get Supported Comparison Types for Rule (1: Fixed Value Comparison, greater than, less than, greater than or equal, etc.
|
Long[] |
getDatasourceTypes()
Get Supported Data Source Types
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getDescription()
Get Rule Template Description
|
Boolean |
getMultiSourceFlag()
Get Whether to Associate Multiple Tables
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getName()
Get Rule Template Name
|
Long |
getQualityDim()
Get Quality Dimension of Rule (1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Validity)
Note: This field may return null, indicating that no valid value can be obtained.
|
SqlExpression |
getResolvedSqlExpression()
Get SQL Expression Parsing Object
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getRuleTemplateId()
Get Rule Template ID
|
String |
getSourceContent()
Get Rule Template Source Side Content, distinguish engine, JSON Structure
Note: This field may return null, indicating that no valid value can be obtained.
|
Long[] |
getSourceEngineTypes()
Get Applicable Source Data Type
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getSourceObjectDataType()
Get Applicable Source Data Object Type (1: Numeric, 2: String)
|
Long |
getSourceObjectType()
Get Applicable Source Data Object Type (1: Constant, 2: Offline Table Level, 3: Offline Field Level)
|
String |
getSqlExpression()
Get Custom Template SQL Expression from Definition
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getSubQualityDim()
Get Template Sub-dimension,0.
|
Long |
getType()
Get Template Type (1: System Template, 2: Self Definition)
|
String |
getUpdateTime()
Get Update Time yyyy-MM-dd HH:mm:ss
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getUserId()
Get Creator ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getUserIdStr()
Get Created by User ID Str
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getUserName()
Get Creator Nickname
Note: This field may return null, indicating that no valid value can be obtained.
|
Boolean |
getWhereFlag()
Get Whether to add where parameter
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setCitationCount(Long CitationCount)
Set Number of References
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setCompareType(Long CompareType)
Set Supported Comparison Types for Rule (1: Fixed Value Comparison, greater than, less than, greater than or equal, etc.
|
void |
setDatasourceTypes(Long[] DatasourceTypes)
Set Supported Data Source Types
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setDescription(String Description)
Set Rule Template Description
|
void |
setMultiSourceFlag(Boolean MultiSourceFlag)
Set Whether to Associate Multiple Tables
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setName(String Name)
Set Rule Template Name
|
void |
setQualityDim(Long QualityDim)
Set Quality Dimension of Rule (1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Validity)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setResolvedSqlExpression(SqlExpression ResolvedSqlExpression)
Set SQL Expression Parsing Object
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRuleTemplateId(Long RuleTemplateId)
Set Rule Template ID
|
void |
setSourceContent(String SourceContent)
Set Rule Template Source Side Content, distinguish engine, JSON Structure
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSourceEngineTypes(Long[] SourceEngineTypes)
Set Applicable Source Data Type
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSourceObjectDataType(Long SourceObjectDataType)
Set Applicable Source Data Object Type (1: Numeric, 2: String)
|
void |
setSourceObjectType(Long SourceObjectType)
Set Applicable Source Data Object Type (1: Constant, 2: Offline Table Level, 3: Offline Field Level)
|
void |
setSqlExpression(String SqlExpression)
Set Custom Template SQL Expression from Definition
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSubQualityDim(Long SubQualityDim)
Set Template Sub-dimension,0.
|
void |
setType(Long Type)
Set Template Type (1: System Template, 2: Self Definition)
|
void |
setUpdateTime(String UpdateTime)
Set Update Time yyyy-MM-dd HH:mm:ss
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setUserId(Long UserId)
Set Creator ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setUserIdStr(String UserIdStr)
Set Created by User ID Str
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setUserName(String UserName)
Set Creator Nickname
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setWhereFlag(Boolean WhereFlag)
Set Whether to add where parameter
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RuleTemplate()
public RuleTemplate(RuleTemplate source)
public Long getRuleTemplateId()
public void setRuleTemplateId(Long RuleTemplateId)
RuleTemplateId - Rule Template IDpublic String getName()
public void setName(String Name)
Name - Rule Template Namepublic String getDescription()
public void setDescription(String Description)
Description - Rule Template Descriptionpublic Long getType()
public void setType(Long Type)
Type - Template Type (1: System Template, 2: Self Definition)public Long getSourceObjectType()
public void setSourceObjectType(Long SourceObjectType)
SourceObjectType - Applicable Source Data Object Type (1: Constant, 2: Offline Table Level, 3: Offline Field Level)public Long getSourceObjectDataType()
public void setSourceObjectDataType(Long SourceObjectDataType)
SourceObjectDataType - Applicable Source Data Object Type (1: Numeric, 2: String)public String getSourceContent()
public void setSourceContent(String SourceContent)
SourceContent - Rule Template Source Side Content, distinguish engine, JSON Structure
Note: This field may return null, indicating that no valid value can be obtained.public Long[] getSourceEngineTypes()
public void setSourceEngineTypes(Long[] SourceEngineTypes)
SourceEngineTypes - Applicable Source Data Type
Note: This field may return null, indicating that no valid value can be obtained.public Long getQualityDim()
public void setQualityDim(Long QualityDim)
QualityDim - Quality Dimension of Rule (1: Accuracy, 2: Uniqueness, 3: Completeness, 4: Consistency, 5: Timeliness, 6: Validity)
Note: This field may return null, indicating that no valid value can be obtained.public Long getCompareType()
public void setCompareType(Long CompareType)
CompareType - Supported Comparison Types for Rule (1: Fixed Value Comparison, greater than, less than, greater than or equal, etc. 2: Fluctuation Value Comparison, absolute value, increase, decrease)
Note: This field may return null, indicating that no valid value can be obtained.public Long getCitationCount()
public void setCitationCount(Long CitationCount)
CitationCount - Number of References
Note: This field may return null, indicating that no valid value can be obtained.public Long getUserId()
public void setUserId(Long UserId)
UserId - Creator ID
Note: This field may return null, indicating that no valid value can be obtained.public String getUserName()
public void setUserName(String UserName)
UserName - Creator Nickname
Note: This field may return null, indicating that no valid value can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Update Time yyyy-MM-dd HH:mm:ss
Note: This field may return null, indicating that no valid value can be obtained.public Boolean getWhereFlag()
public void setWhereFlag(Boolean WhereFlag)
WhereFlag - Whether to add where parameter
Note: This field may return null, indicating that no valid value can be obtained.public Boolean getMultiSourceFlag()
public void setMultiSourceFlag(Boolean MultiSourceFlag)
MultiSourceFlag - Whether to Associate Multiple Tables
Note: This field may return null, indicating that no valid value can be obtained.public String getSqlExpression()
public void setSqlExpression(String SqlExpression)
SqlExpression - Custom Template SQL Expression from Definition
Note: This field may return null, indicating that no valid value can be obtained.public Long getSubQualityDim()
public void setSubQualityDim(Long SubQualityDim)
SubQualityDim - Template Sub-dimension,0. Parent Dimension Type,1. Consistency: Enumeration Range Consistency,2. Consistency: Numeric Range Consistency,3. Consistency: Field Data Correlation
Note: This field may return null, indicating that no valid value can be obtained.public SqlExpression getResolvedSqlExpression()
public void setResolvedSqlExpression(SqlExpression ResolvedSqlExpression)
ResolvedSqlExpression - SQL Expression Parsing Object
Note: This field may return null, indicating that no valid value can be obtained.public Long[] getDatasourceTypes()
public void setDatasourceTypes(Long[] DatasourceTypes)
DatasourceTypes - Supported Data Source Types
Note: This field may return null, indicating that no valid value can be obtained.public String getUserIdStr()
public void setUserIdStr(String UserIdStr)
UserIdStr - Created by User ID Str
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.