Filter interface
这是表示筛选器的基类型。 若要配置筛选器,请不要直接实例化此类的对象。 相反,根据要筛选的键的类型,实例化派生类的对象,例如 BoolEqualsFilter、NumberInFilter 等。
属性
| key | 要根据要筛选的事件中的字段/属性。 |
| operator |
多态鉴别器,它指定此对象可以的不同类型的 |
属性详细信息
key
要根据要筛选的事件中的字段/属性。
key?: string
属性值
string
operatorType
多态鉴别器,它指定此对象可以的不同类型的
operatorType: "NumberIn" | "NumberNotIn" | "NumberLessThan" | "NumberGreaterThan" | "NumberLessThanOrEquals" | "NumberGreaterThanOrEquals" | "BoolEquals" | "StringIn" | "StringNotIn" | "StringBeginsWith" | "StringEndsWith" | "StringContains" | "NumberInRange" | "NumberNotInRange" | "StringNotBeginsWith" | "StringNotEndsWith" | "StringNotContains" | "IsNullOrUndefined" | "IsNotNull"
属性值
"NumberIn" | "NumberNotIn" | "NumberLessThan" | "NumberGreaterThan" | "NumberLessThanOrEquals" | "NumberGreaterThanOrEquals" | "BoolEquals" | "StringIn" | "StringNotIn" | "StringBeginsWith" | "StringEndsWith" | "StringContains" | "NumberInRange" | "NumberNotInRange" | "StringNotBeginsWith" | "StringNotEndsWith" | "StringNotContains" | "IsNullOrUndefined" | "IsNotNull"