rakeshcusat commented on code in PR #35209:
URL: https://github.com/apache/beam/pull/35209#discussion_r2151404069
##########
website/www/site/content/en/documentation/programming-guide.md:
##########
@@ -6621,6 +6621,29 @@ _ = (p | 'Read per user' >> ReadPerUser()
| 'Set state pardo' >> beam.ParDo(OrderedListStateDoFn()))
{{< /highlight >}}
+#### MultimapState {#multimap-state}
+`MultimapState` allow one key mapped to different values but the key value
could be unordered.
+
+{{< highlight java >}}
+
+ @StateId(stateId)
+ private final StateSpec<MultimapState<String, Integer>> multimapState =
+ StateSpecs.multimap(StringUtf8Coder.of(), VarIntCoder.of());
Review Comment:
Good point, I will take care of this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]