{1, 8, 127, 6, 259, 3, 8, 6}
{1, 8, 127, 6, 259, 3}
{1, 3, 6, 8, 127, 259}
步骤一:收集域值种类
步骤二:域值排序
步骤三:写入到映射关系encode中
映射前域值集合:
uniqueValues中的域值集合:
sortedUniqueValues中的域值集合:
encode中的域值集合:
Key
Value
1
0
3
6
2
8
127
4
259
5