You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/07/07 13:26:14 UTC

[GitHub] [flink] hequn8128 commented on a change in pull request #8994: [FLINK-13057][state] Correct comments in ListState class

hequn8128 commented on a change in pull request #8994: [FLINK-13057][state] Correct comments in ListState class
URL: https://github.com/apache/flink/pull/8994#discussion_r300867237
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/api/common/state/ListState.java
 ##########
 @@ -27,10 +27,14 @@
  * The state is accessed and modified by user functions, and checkpointed consistently
  * by the system as part of the distributed snapshots.
  *
- * <p>The state is only accessible by functions applied on a {@code KeyedStream}. The key is
- * automatically supplied by the system, so the function always sees the value mapped to the
- * key of the current element. That way, the system can handle stream and state partitioning
- * consistently together.
+ * <p>The state can be a keyed list state or an operator list state.
+ * When it is a keyed list state, it is accessed by functions applied on a {@code KeyedStream}.
 
 Review comment:
   good suggestion!

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services