Off Limit Tagger¶
This stage supports the filtering of data with the specified threshold values. The specific logic is as follows:
- Input data with the specified lower limit and upper limit values (Outlier Detection) are filtered.
- Verify if the value of the
record.measurepoint.value
field in the record falls in the specifiedmin,max
range.- If the data value does not fall in the range, the value of the
/attr/isOutlier
field in the output is set totrue
. - If the data value falls in the range, the value of the
/attr/isOutlier
field in the output is set tofalse
.
- If the data value does not fall in the range, the value of the
- The configured threshold values and parameters will be included in the
/attr/outlierAttr
field as output.
Configuration¶
The configuration tabs for this stage are General, Basic, and Input/Output.
General¶
Name | Required? | Description |
---|---|---|
Name | Yes | The name of the stage. |
Description | No | The description of the stage. |
Stage Library | Yes | The streaming operator library to which the stage belongs. |
Required Fields | No | The fields that the data records must contain. If the specified fields are not included, the record will be filtered out. |
Preconditions | No | The conditions that must be satisfied by the data records. Records that do not meet the conditions will be filtered out. For example, ${record:value('/value') > 0} . For the syntax of EL expressions, see Expression Language. |
On Record Error | Yes | The processing method for error data.
|
Basic¶
Name | Required? | Description |
---|---|---|
Quality Filter | No | Filter the data according to the data quality. Only records that meet the quality conditions will be processed by this stage. |
Input/Output¶
Name | Required? | Description |
---|---|---|
Input Point | Yes | Specify the input point of the records, using the format {modelId}::{pointId}. |
OpenClose | Yes | Select the format of the threshold.
|
Min-Max | Yes | Specify the lower limit value and upper limit value of the threshold, separated by comma. |
Output Point | Yes | Specify the output point of the records, using the format {modelId}::{pointId}. After processing the values of the input point with the threshold, the streaming engine will tag records that exceed the upper or lower limit and output the tagging results to the output point. |
Output Results¶
The output results of this stage are included in the attr
struct. The description of the fields are as follows:
Name | Data Type | Description |
---|---|---|
isOutlier | Boolean | |
minValue | Int/Double/Float | The set lower limit of the threshold. |
maxValue | Int/Double/Float | The set upper limit of the threshold. |
enableMinJudger | Boolean | Whether minimum value juder is enabled. |
enableMaxJudger | Boolean | Whether maximum value juder is enabled. |