Re: ValueState with pure Java class keeping lists/map vs ListState/MapState, which one is a recommended way?

2020-01-18 Thread David Anderson
[Note that this question is better suited for the user mailing list than dev.] In general using ListState and MapState is recommended rather than using ValueState> or ValueState>. Some of the state backends are able to optimize common access patterns for ListState and MapState in ways that are

ValueState with pure Java class keeping lists/map vs ListState/MapState, which one is a recommended way?

2020-01-17 Thread Elkhan Dadashov
Hi Flinkers, Was curious about if there is any performance(memory/speed) difference between these two options: in window process functions, when keeping state: *1) Create a single ValueState, and store state in pure Java objects* class MyClass { List listOtherClass; Map