跳转至

Parse classification string(解析分类字符串(Parse classification string))

Supported in: Batch, Streaming

Returns the markings parsed from a given classification string. This output is formatted as a struct, where the first element of the struct is an array comprising the classification markings that represent the input. This list is null if the classification string is invalid, or if there are other errors that occur while parsing the markings. The second element of the struct is the string of error message(s). If there are no errors, the error field will be null. This expression is called asynchronously for performance.

Expression categories: Other

Declared arguments

  • Expression: A classification string.
    Expression\

Output type: Struct\, errors:String>

Examples

Example 1: Base case

Argument values:

  • Expression: cbacString
cbacString Output
MS//MNF [ MS, MNF ]

Example 2: Base case

Argument values:

  • Expression: cbacString
cbacString Output
empty string [ ]


中文翻译


解析分类字符串(Parse classification string)

支持:批处理(Batch)、流处理(Streaming)

从给定的分类字符串中返回解析后的标记。输出格式为结构体(struct),其中第一个元素是一个数组,包含表示输入的分类标记。如果分类字符串无效,或在解析标记过程中出现其他错误,该列表将为 null。结构体的第二个元素是错误消息字符串。如果没有错误,错误字段将为 null。出于性能考虑,此表达式会异步调用。

表达式类别: 其他

声明的参数

  • 表达式(Expression): 一个分类字符串。
    Expression\

输出类型: Struct\, errors:String>

示例

示例 1:基本情况

参数值:

  • 表达式: cbacString
cbacString 输出
MS//MNF [ MS, MNF ]

示例 2:基本情况

参数值:

  • 表达式: cbacString
cbacString 输出
空字符串 [ ]