flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: 0.10 streaming state documentation out of date
Date Thu, 05 Nov 2015 17:03:42 GMT
I am writing an update in the state docs now...

On Thu, Nov 5, 2015 at 5:58 PM, Maximilian Michels <mxm@apache.org> wrote:

> Hi Martin,
>
> You're right. The documentation needs to be updated. I have already filed a
> JIRA for that: https://issues.apache.org/jira/browse/FLINK-2938
>
> It's actually called getKeyValueState(...) now.
>
> Cheers,
> Max
>
> On Thu, Nov 5, 2015 at 4:41 PM, Martin Neumann <mneumann@sics.se> wrote:
>
> > Hej,
> >
> > I'm working with some state full streaming operators at the moment and I
> > noticed that the Documentation is out of date.
> >
> > The documentation says:
> >
> >  @Override
> >     public void open(Configuration config) {
> >         counter = getRuntimeContext().getOperatorState(“counter”, 0L,
> > false);
> >     }
> >
> >
> > getOperatorState does not exist anymore, instead it should be
> > getKeyValueState.
> > Also the signature of the function has changed so the description text
> > might need some update to.
> >
> > cheers Martin
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message