Hello,

I don't think there is a way to do that check. Moreover, it seems to me
that is useless in any case.
The thing that allows you to achieve the desired behavior is
`allowOverwrite` flag [1].
By default, the data streamer will not overwrite existing data, which means
that if it will encounter an entry that is already in cache, it will skip
it.
So, you can just set `allowOverride` to `false` (which is the default
value) and put updated values into a cache.

[1]
https://apacheignite.readme.io/docs/data-streamers#section-allow-overwrite

Thanks,
S.

ср, 29 авг. 2018 г. в 8:32, the_palakkaran <jik...@suntecsbs.com>:

> Hi,
>
> I have a data streamer to load data into a cache. While loading I might
> need
> to update value of a particular key in cache, so I need to check if it is
> already there in the streamer buffer. If so, either I need to update value
> against that key in the buffer or I need to flush the data in the streamer
> and then update. Is there a way to do this?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to