damccorm commented on code in PR #35209:
URL: https://github.com/apache/beam/pull/35209#discussion_r2150149902


##########
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:
   It looks to me like the formatting might be off - this section has leading 
tabs while the below version does not.



##########
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:
   I think both sections should have tabs



-- 
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]

Reply via email to