Use deserialised row keys in config tables (#7962)

This commit is contained in:
froobynooby
2022-06-14 06:20:43 +09:30
parent e4e33753a4
commit 98b65200d8

View File

@@ -2461,9 +2461,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ final BasicConfigurationNode rowKeyNode = BasicConfigurationNode.root(node.options());
+
+ for (final Object key : node.childrenMap().keySet()) {
+ rowKeySerializer.deserialize(rowType, rowKeyNode.set(key));
+ final R rowKey = rowKeySerializer.deserialize(rowType, rowKeyNode.set(key));
+ final Map<C, V> map = columnValueSerializer.deserialize(mapType, node.node(rowKeyNode.raw()));
+ map.forEach((column, value) -> table.put((R) rowKeyNode.raw(), column, value));
+ map.forEach((column, value) -> table.put(rowKey, column, value));
+ }
+ }
+