public class Rule extends AbstractModel
header, skipSign
Constructor and Description |
---|
Rule() |
Rule(Rule 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 |
getAlarmLevel()
Get Alert Trigger Level 1.
|
CompareRule |
getCompareRule()
Get Alert Trigger Condition
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getConditionExpression()
Get Conditional Scan WHERE Condition Expression
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getConditionType()
Get Detection Range 1.
|
String |
getCreateTime()
Get Creation TimeNote: This field may return null, indicating that no valid value can be obtained.
|
String |
getCustomSql()
Get Custom Template SQL Expression from Definition
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getDatabaseId()
Get Database ID
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getDatasourceId()
Get Data Source ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getDescription()
Get Rule DescriptionNote: This field may return null, indicating that no valid value can be obtained.
|
Long |
getDsEnvType()
Get 0, or not returned, or null: Undefined, 1: Production, 2: Development
Note: This field may return null, indicating that no valid value can be obtained.
|
RuleGroupExecStrategy |
getExecStrategy()
Get Execution strategy information
Note: This field may return null, indicating that no valid value can be obtained.
|
RuleFieldConfig |
getFieldConfig()
Get From Definition template SQL expression parameters
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getMonitorStatus()
Get Monitoring enabled.
|
Boolean |
getMultiSourceFlag()
Get Whether to join multiple tables
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getName()
Get Rule nameNote: This field may return null, indicating that no valid value can be obtained.
|
String |
getOperator()
Get Rule Configurator
Note: This field may return null, indicating that no valid value can be obtained.
|
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.
|
String |
getRelConditionExpr()
Get Source and target field association conditions in ON expression
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getRuleGroupId()
Get Rule Group ID
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getRuleId()
Get Rule ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getRuleTemplateContent()
Get Rule Template Overview
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getRuleTemplateId()
Get Rule Template ID
Note: This field may return null, indicating that no valid value can be obtained.
|
Long[] |
getSourceEngineTypes()
Get Source engine 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)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getSourceObjectDataTypeName()
Get Source Field Detailed Type, INT, STRING
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getSourceObjectType()
Get Applicable Source Data Object Type (1: Constant, 2: Offline Table Level, 3: Offline Field Level)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getSourceObjectValue()
Get Source Field Name
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getSubQualityDim()
Get Template sub-dimensions: 0.Parent dimension type, 1.Consistency: Enum 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.
|
RuleGroupSubscribe |
getSubscription()
Get Subscription information
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTableId()
Get Data Table ID
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTableName()
Get Table name
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTableOwnerName()
Get Table manager name
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetConditionExpr()
Get Target Field Filter Condition Expression
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetDatabaseId()
Get Target Database Id
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetDatabaseName()
Get Target Database Name
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getTargetObjectDataType()
Get Rule applicable target data object types (1: Numeric, 2: String)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetObjectDataTypeName()
Get Target field detailed types, INT, STRING
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getTargetObjectType()
Get Rule applicable target data object types (1: Constant, 2: Offline table level, 3: Offline field level)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetObjectValue()
Get Target field name
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetTableId()
Get Target Table Id
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetTableName()
Get Target Table Name
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTemplateSql()
Get Template original SQL
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTriggerCondition()
Get Trigger conditionNote: This field may return null, indicating that no valid value can be obtained.
|
Long |
getType()
Get Rule Type 1.
|
Boolean |
getWhereFlag()
Get Whether WHERE parameters exist
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setAlarmLevel(Long AlarmLevel)
Set Alert Trigger Level 1.
|
void |
setCompareRule(CompareRule CompareRule)
Set Alert Trigger Condition
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setConditionExpression(String ConditionExpression)
Set Conditional Scan WHERE Condition Expression
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setConditionType(Long ConditionType)
Set Detection Range 1.
|
void |
setCreateTime(String CreateTime)
Set Creation TimeNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setCustomSql(String CustomSql)
Set Custom Template SQL Expression from Definition
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setDatabaseId(String DatabaseId)
Set Database ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setDatasourceId(Long DatasourceId)
Set Data Source ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setDescription(String Description)
Set Rule DescriptionNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setDsEnvType(Long DsEnvType)
Set 0, or not returned, or null: Undefined, 1: Production, 2: Development
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setExecStrategy(RuleGroupExecStrategy ExecStrategy)
Set Execution strategy information
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setFieldConfig(RuleFieldConfig FieldConfig)
Set From Definition template SQL expression parameters
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setMonitorStatus(Long MonitorStatus)
Set Monitoring enabled.
|
void |
setMultiSourceFlag(Boolean MultiSourceFlag)
Set Whether to join multiple tables
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setName(String Name)
Set Rule nameNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setOperator(String Operator)
Set Rule Configurator
Note: This field may return null, indicating that no valid value can be obtained.
|
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 |
setRelConditionExpr(String RelConditionExpr)
Set Source and target field association conditions in ON expression
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRuleGroupId(Long RuleGroupId)
Set Rule Group ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRuleId(Long RuleId)
Set Rule ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRuleTemplateContent(String RuleTemplateContent)
Set Rule Template Overview
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRuleTemplateId(Long RuleTemplateId)
Set Rule Template ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSourceEngineTypes(Long[] SourceEngineTypes)
Set Source engine 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)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSourceObjectDataTypeName(String SourceObjectDataTypeName)
Set Source Field Detailed Type, INT, STRING
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSourceObjectType(Long SourceObjectType)
Set Applicable Source Data Object Type (1: Constant, 2: Offline Table Level, 3: Offline Field Level)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSourceObjectValue(String SourceObjectValue)
Set Source Field Name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setSubQualityDim(Long SubQualityDim)
Set Template sub-dimensions: 0.Parent dimension type, 1.Consistency: Enum 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.
|
void |
setSubscription(RuleGroupSubscribe Subscription)
Set Subscription information
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTableId(String TableId)
Set Data Table ID
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTableName(String TableName)
Set Table name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTableOwnerName(String TableOwnerName)
Set Table manager name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetConditionExpr(String TargetConditionExpr)
Set Target Field Filter Condition Expression
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetDatabaseId(String TargetDatabaseId)
Set Target Database Id
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetDatabaseName(String TargetDatabaseName)
Set Target Database Name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetObjectDataType(Long TargetObjectDataType)
Set Rule applicable target data object types (1: Numeric, 2: String)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetObjectDataTypeName(String TargetObjectDataTypeName)
Set Target field detailed types, INT, STRING
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetObjectType(Long TargetObjectType)
Set Rule applicable target data object types (1: Constant, 2: Offline table level, 3: Offline field level)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetObjectValue(String TargetObjectValue)
Set Target field name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetTableId(String TargetTableId)
Set Target Table Id
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetTableName(String TargetTableName)
Set Target Table Name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTemplateSql(String TemplateSql)
Set Template original SQL
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTriggerCondition(String TriggerCondition)
Set Trigger conditionNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setType(Long Type)
Set Rule Type 1.
|
void |
setWhereFlag(Boolean WhereFlag)
Set Whether WHERE parameters exist
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, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Rule()
public Rule(Rule source)
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- Rule ID
Note: This field may return null, indicating that no valid value can be obtained.public Long getRuleGroupId()
public void setRuleGroupId(Long RuleGroupId)
RuleGroupId
- Rule Group ID
Note: This field may return null, indicating that no valid value can be obtained.public String getTableId()
public void setTableId(String TableId)
TableId
- Data Table ID
Note: This field may return null, indicating that no valid value can be obtained.public String getName()
public void setName(String Name)
Name
- Rule nameNote: This field may return null, indicating that no valid value can be obtained.public Long getType()
public void setType(Long Type)
Type
- Rule Type 1. System Template, 2. Custom Definition Template, 3. Custom Definition SQL
Note: This field may return null, indicating that no valid value can be obtained.public Long getRuleTemplateId()
public void setRuleTemplateId(Long RuleTemplateId)
RuleTemplateId
- Rule Template ID
Note: This field may return null, indicating that no valid value can be obtained.public String getRuleTemplateContent()
public void setRuleTemplateContent(String RuleTemplateContent)
RuleTemplateContent
- Rule Template Overview
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 getSourceObjectType()
public void setSourceObjectType(Long SourceObjectType)
SourceObjectType
- Applicable Source Data Object Type (1: Constant, 2: Offline Table Level, 3: Offline Field Level)
Note: This field may return null, indicating that no valid value can be obtained.public Long getSourceObjectDataType()
public void setSourceObjectDataType(Long SourceObjectDataType)
SourceObjectDataType
- Applicable Source Data Object Type (1: Numeric, 2: String)
Note: This field may return null, indicating that no valid value can be obtained.public String getSourceObjectDataTypeName()
public void setSourceObjectDataTypeName(String SourceObjectDataTypeName)
SourceObjectDataTypeName
- Source Field Detailed Type, INT, STRING
Note: This field may return null, indicating that no valid value can be obtained.public String getSourceObjectValue()
public void setSourceObjectValue(String SourceObjectValue)
SourceObjectValue
- Source Field Name
Note: This field may return null, indicating that no valid value can be obtained.public Long getConditionType()
public void setConditionType(Long ConditionType)
ConditionType
- Detection Range 1. Whole Table, 2. Conditional Scan
Note: This field may return null, indicating that no valid value can be obtained.public String getConditionExpression()
public void setConditionExpression(String ConditionExpression)
ConditionExpression
- Conditional Scan WHERE Condition Expression
Note: This field may return null, indicating that no valid value can be obtained.public String getCustomSql()
public void setCustomSql(String CustomSql)
CustomSql
- Custom Template SQL Expression from Definition
Note: This field may return null, indicating that no valid value can be obtained.public CompareRule getCompareRule()
public void setCompareRule(CompareRule CompareRule)
CompareRule
- Alert Trigger Condition
Note: This field may return null, indicating that no valid value can be obtained.public Long getAlarmLevel()
public void setAlarmLevel(Long AlarmLevel)
AlarmLevel
- Alert Trigger Level 1. Low, 2. Medium, 3. High
Note: This field may return null, indicating that no valid value can be obtained.public String getDescription()
public void setDescription(String Description)
Description
- Rule DescriptionNote: This field may return null, indicating that no valid value can be obtained.public String getOperator()
public void setOperator(String Operator)
Operator
- Rule Configurator
Note: This field may return null, indicating that no valid value can be obtained.public String getTargetDatabaseId()
public void setTargetDatabaseId(String TargetDatabaseId)
TargetDatabaseId
- Target Database Id
Note: This field may return null, indicating that no valid value can be obtained.public String getTargetDatabaseName()
public void setTargetDatabaseName(String TargetDatabaseName)
TargetDatabaseName
- Target Database Name
Note: This field may return null, indicating that no valid value can be obtained.public String getTargetTableId()
public void setTargetTableId(String TargetTableId)
TargetTableId
- Target Table Id
Note: This field may return null, indicating that no valid value can be obtained.public String getTargetTableName()
public void setTargetTableName(String TargetTableName)
TargetTableName
- Target Table Name
Note: This field may return null, indicating that no valid value can be obtained.public String getTargetConditionExpr()
public void setTargetConditionExpr(String TargetConditionExpr)
TargetConditionExpr
- Target Field Filter Condition Expression
Note: This field may return null, indicating that no valid value can be obtained.public String getRelConditionExpr()
public void setRelConditionExpr(String RelConditionExpr)
RelConditionExpr
- Source and target field association conditions in ON expression
Note: This field may return null, indicating that no valid value can be obtained.public RuleFieldConfig getFieldConfig()
public void setFieldConfig(RuleFieldConfig FieldConfig)
FieldConfig
- From Definition template SQL expression parameters
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 join multiple tables
Note: This field may return null, indicating that no valid value can be obtained.public Boolean getWhereFlag()
public void setWhereFlag(Boolean WhereFlag)
WhereFlag
- Whether WHERE parameters exist
Note: This field may return null, indicating that no valid value can be obtained.public String getTemplateSql()
public void setTemplateSql(String TemplateSql)
TemplateSql
- Template original SQL
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-dimensions: 0.Parent dimension type, 1.Consistency: Enum 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 Long getTargetObjectType()
public void setTargetObjectType(Long TargetObjectType)
TargetObjectType
- Rule applicable target data object types (1: Constant, 2: Offline table level, 3: Offline field level)
Note: This field may return null, indicating that no valid value can be obtained.public Long getTargetObjectDataType()
public void setTargetObjectDataType(Long TargetObjectDataType)
TargetObjectDataType
- Rule applicable target data object types (1: Numeric, 2: String)
Note: This field may return null, indicating that no valid value can be obtained.public String getTargetObjectDataTypeName()
public void setTargetObjectDataTypeName(String TargetObjectDataTypeName)
TargetObjectDataTypeName
- Target field detailed types, INT, STRING
Note: This field may return null, indicating that no valid value can be obtained.public String getTargetObjectValue()
public void setTargetObjectValue(String TargetObjectValue)
TargetObjectValue
- Target field name
Note: This field may return null, indicating that no valid value can be obtained.public Long[] getSourceEngineTypes()
public void setSourceEngineTypes(Long[] SourceEngineTypes)
SourceEngineTypes
- Source engine type
Note: This field may return null, indicating that no valid value can be obtained.public String getTableName()
public void setTableName(String TableName)
TableName
- Table name
Note: This field may return null, indicating that no valid value can be obtained.public String getTableOwnerName()
public void setTableOwnerName(String TableOwnerName)
TableOwnerName
- Table manager name
Note: This field may return null, indicating that no valid value can be obtained.public RuleGroupExecStrategy getExecStrategy()
public void setExecStrategy(RuleGroupExecStrategy ExecStrategy)
ExecStrategy
- Execution strategy information
Note: This field may return null, indicating that no valid value can be obtained.public RuleGroupSubscribe getSubscription()
public void setSubscription(RuleGroupSubscribe Subscription)
Subscription
- Subscription information
Note: This field may return null, indicating that no valid value can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation TimeNote: This field may return null, indicating that no valid value can be obtained.public Long getDatasourceId()
public void setDatasourceId(Long DatasourceId)
DatasourceId
- Data Source ID
Note: This field may return null, indicating that no valid value can be obtained.public String getDatabaseId()
public void setDatabaseId(String DatabaseId)
DatabaseId
- Database ID
Note: This field may return null, indicating that no valid value can be obtained.public Long getMonitorStatus()
public void setMonitorStatus(Long MonitorStatus)
MonitorStatus
- Monitoring enabled. 0 false, 1 true
Note: This field may return null, indicating that no valid value can be obtained.public String getTriggerCondition()
public void setTriggerCondition(String TriggerCondition)
TriggerCondition
- Trigger conditionNote: This field may return null, indicating that no valid value can be obtained.public Long getDsEnvType()
public void setDsEnvType(Long DsEnvType)
DsEnvType
- 0, or not returned, or null: Undefined, 1: Production, 2: Development
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.