You are here: Strings > ListDuplicateRemover

ListDuplicateRemover

从列表属性中删除所有重复值。在生成的列表中,将存在列表属性的不同值。

笔记:如果输入列表在其中包含间隙,则从输出列表中消除这些空隙。

When looking for duplicates, null, missing and empty values are considered equivalent so will be treated as duplicates of each other. The first null, missing or empty string value will be kept.

If there were other attributes in the list “parallel” to the attribute being operated on, these will also be moved in the list to stay in “parallel” with the key attribute. Similarly, if there were other attributes in the list “parallel” to an entry that is a duplicate (so will be removed), those attributes will also be removed.

For matching purposes, a list entry is considered ‘missing’, only if it has a parallel attribute. For example, if列表{0} .A存在,然后列表{0} .b将被视为缺失。但是,如果没有list{0}然后,参赛作品列表{0} .b不会被视为缺失。它宁愿被认为是在列表中表示“差距”。

Parameters

Example

If this feature enters this transformer:

索音{0} .kind ='铺砌'

somelist{1}.kind = 'smooth'

somelist{2}.kind = 'smooth'

solosist {3} .kind ='粗糙'

索音{4} .kind ='smooth'

索莫斯主义{5} .kind ='shoft'

索莫斯特{6} .kind ='铺砌'

somelist{8}.kind =

and the list name is set to索莫斯特{}。善良的,离开变压器的功能将具有以下属性:

索音{0} .kind ='铺砌'

somelist{1}.kind = 'smooth'

索莫斯特{2} .kind ='粗糙'

索音{3} .kind =

As another example, if the input feature had these attributes:

索音{0} .kind ='铺砌'

SOMELIST {0} .id ='A3'

somelist{1}.kind = 'smooth'

somelist{1}.id = 'B7'

somelist{2}.kind = 'smooth'

somelist{2}.id = 'B8'

solosist {3} .kind ='粗糙'

SOMELIST {3} .id ='C9'

索音{4} .kind ='smooth'

somelist{4}.id = 'B9'

索莫斯主义{5} .kind ='shoft'

索莫斯特{5} .id ='b2'

索莫斯特{6} .kind ='铺砌'

somelist{6}.id = 'A7'

and the list name is set to索莫斯特{}。善良的,离开变压器的功能将具有以下属性:

索音{0} .kind ='铺砌'

SOMELIST {0} .id ='A3'

somelist{1}.kind = 'smooth'

somelist{1}.id = 'B7'

索莫斯特{2} .kind ='粗糙'

somelist{2}.id = 'C9'

编辑变压器参数

使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅变换器参数菜单选项.

变压器类别

Data Quality

Strings

搜索FME知识中心

搜索有关此变压器的样本和信息FME Knowledge Center.